display error message in the console

pull/1/head
yann300 6 years ago
parent e09de5c746
commit 56f85b8842
  1. 2
      src/app/tabs/run-tab.js

@ -372,6 +372,8 @@ function contractDropdown (events, self) {
if (noInstancesText.parentNode) { noInstancesText.parentNode.removeChild(noInstancesText) }
var address = isVM ? txResult.result.createdAddress : txResult.result.contractAddress
instanceContainer.appendChild(self._deps.udappUI.renderInstance(selectedContract.contract.object, address, selectContractNames.value))
} else {
self._deps.logCallback(`creation of ${selectedContract.name} errored: ${error}`)
}
})
}

Loading…
Cancel
Save