Skip to content

Commit

Permalink
chore: change error object to received error
Browse files Browse the repository at this point in the history
  • Loading branch information
alexruzenhack committed Sep 5, 2024
1 parent 3f06ed1 commit 2478b95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sagas/nanoContract.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export function* registerNanoContract({ payload }) {
function* registerNanoContractOnError(error) {
log.error('Unexpected error while registering Nano Contract.', error);
yield put(nanoContractRegisterFailure(failureMessage.blueprintInfoFailure));
yield put(onExceptionCaptured(new Error(failureMessage.nanoContractFailure), false));
yield put(onExceptionCaptured(error, false));
}

/**
Expand Down

0 comments on commit 2478b95

Please sign in to comment.