forked from mystiq/hydrogen-web
explicitly check for undefined
This commit is contained in:
parent
fde0163b97
commit
41a10d9697
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue