mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-01-11 04:27:40 +01:00
explicitly check for undefined
This commit is contained in:
parent
fde0163b97
commit
41a10d9697
@ -184,7 +184,7 @@ export class LogItem implements ILogItem {
|
|||||||
* @return {[type]} [description]
|
* @return {[type]} [description]
|
||||||
*/
|
*/
|
||||||
run<T>(callback: LogCallback<T>): T {
|
run<T>(callback: LogCallback<T>): T {
|
||||||
if (this.end) {
|
if (this.end !== undefined) {
|
||||||
console.trace("log item is finished, additional logs will likely not be recorded");
|
console.trace("log item is finished, additional logs will likely not be recorded");
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user