Skip to content

Commit

Permalink
Update packages/builder/src/registry.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Matías <[email protected]>
  • Loading branch information
FuzzB0t and mjlescano authored Sep 18, 2024
1 parent aef33d0 commit ac73ed9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/builder/src/registry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ export class OnChainRegistry extends CannonRegistry {
);

if (response.data && response.data.error) {
throw response.data.error.message;
throw new Error(response.data.error.message);
}

const url = viem.decodeFunctionResult({
Expand Down

0 comments on commit ac73ed9

Please sign in to comment.