mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-01-10 20:17:32 +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]
|
||||
*/
|
||||
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");
|
||||
}
|
||||
try {
|
||||
|
Loading…
x
Reference in New Issue
Block a user