Skip to content

Commit

Permalink
fix: show errors in alert and console
Browse files Browse the repository at this point in the history
  • Loading branch information
j4k0xb committed Jul 14, 2024
1 parent 72a821f commit 204c6f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/playground/src/context/DeobfuscateContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ function useProviderValue(props: Props) {
} else if (data.type === 'error') {
setDeobfuscating(false);
setAlert(data.error.toString());
console.error(data.error);
}
};
}
Expand Down

0 comments on commit 204c6f2

Please sign in to comment.