Skip to content

Commit

Permalink
Throw error for invalid branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrtenz committed Dec 18, 2024
1 parent b324ad2 commit 6d1af36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/snaps-rpc-methods/src/permitted/setState.ts
Original file line number Diff line number Diff line change
Expand Up @@ -248,5 +248,5 @@ export function set(

// This should never be reached.
/* istanbul ignore next */
return {};
throw new Error('Unexpected error while setting the state.');
}

0 comments on commit 6d1af36

Please sign in to comment.