diff --git a/src/universal-dapp.js b/src/universal-dapp.js index f3d96e834b..87d6a3f79e 100644 --- a/src/universal-dapp.js +++ b/src/universal-dapp.js @@ -572,9 +572,11 @@ UniversalDApp.prototype.getCallButton = function (args) { // VM only } else if (self.executionContext.isVM() && result.vm.exception === 0 && result.vm.exceptionError) { replaceOutput($result, $('').text('VM Exception: ' + result.vm.exceptionError).addClass('error')); + $result.append(getDebugTransaction(result)); // VM only } else if (self.executionContext.isVM() && result.vm.return === undefined) { replaceOutput($result, $('').text('Exception during execution.').addClass('error')); + $result.append(getDebugTransaction(result)); } else if (isConstructor) { replaceOutput($result, getGasUsedOutput(result, result.vm)); $result.append(getDebugTransaction(result));