Commit c0cb0fd4 authored by yann300's avatar yann300

fix error msg

parent f85d6504
......@@ -133,7 +133,7 @@ Ethdebugger.prototype.startDebugging = function (blockNumber, txIndex, tx) {
yo.update(self.view, self.render())
self.event.trigger('newTraceLoaded', [self.traceManager.trace])
} else {
self.statusMessage = error
self.statusMessage = error ? error.message : 'Trace not loaded'
yo.update(self.view, self.render())
}
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment