Skip to content

Commit

Permalink
fix(warp-contract): correctly throw error in write interaction
Browse files Browse the repository at this point in the history
  • Loading branch information
Atticus committed May 2, 2024
1 parent 2a282e2 commit c2368dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/contracts/warp-contract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ export class WarpContract<T>
contractTxId: this.contractTxId,
},
);
throw new WriteInteractionError(error.message);
throw new WriteInteractionError(error);
}
}
}

0 comments on commit c2368dd

Please sign in to comment.