Skip to content

Commit

Permalink
Mark ephemeral contracts which creation was failed as not found
Browse files Browse the repository at this point in the history
  • Loading branch information
skozin committed Nov 23, 2017
1 parent f9dc185 commit 2e1552f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/sagas/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ function* $handleCreateContract(action) {
yield apply(contract, contract.initialize)
}
catch (err) {
yield* $dispatch(Actions.contractOperationFailed(action.ephemeralAddress, err.message))
yield* $dispatch(Actions.contractOperationFailed(action.ephemeralAddress, err.message, true))
setTimeout(() => {throw err}, 0)
return
}
Expand Down

0 comments on commit 2e1552f

Please sign in to comment.