Skip to content

Commit

Permalink
Promise.reject(Error('
Browse files Browse the repository at this point in the history
  • Loading branch information
sanderPostma committed Nov 14, 2024
1 parent 4ee2610 commit 29e7c39
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ export const assertValidVerifiablePresentations = async (args: {
}) => {
const {presentations} = args
if (!presentations || (Array.isArray(presentations) && presentations.length === 0)) {
throw Error('missing presentation(s)')
throw Error(Promise.reject('missing presentation(s)'))
}
const presentationsArray = Array.isArray(presentations) ? presentations : [presentations]
if (
Expand Down

0 comments on commit 29e7c39

Please sign in to comment.