|
|
@ -82,6 +82,7 @@ export class InternalCallTree { |
|
|
|
if (!compResult) { |
|
|
|
if (!compResult) { |
|
|
|
this.event.trigger('noCallTreeAvailable', []) |
|
|
|
this.event.trigger('noCallTreeAvailable', []) |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
|
|
|
|
try { |
|
|
|
buildTree(this, 0, scopeId, isCreation).then((result) => { |
|
|
|
buildTree(this, 0, scopeId, isCreation).then((result) => { |
|
|
|
if (result.error) { |
|
|
|
if (result.error) { |
|
|
|
this.event.trigger('callTreeBuildFailed', [result.error]) |
|
|
|
this.event.trigger('callTreeBuildFailed', [result.error]) |
|
|
@ -94,6 +95,9 @@ export class InternalCallTree { |
|
|
|
console.log('analyzing trace falls ' + reason) |
|
|
|
console.log('analyzing trace falls ' + reason) |
|
|
|
this.event.trigger('callTreeNotReady', [reason]) |
|
|
|
this.event.trigger('callTreeNotReady', [reason]) |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
} catch (e) { |
|
|
|
|
|
|
|
console.log(e) |
|
|
|
|
|
|
|
}
|
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|