Skip to content

Commit 700947c

Browse files
committed
feat: show error message
1 parent 015899a commit 700947c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ export default function App() {
104104

105105
const handleError = (e: any) => {
106106
if (e instanceof AkilesError) {
107-
setResult('Error: ' + JSON.stringify(e));
107+
setResult('Error: ' + e.message + ' ' + JSON.stringify(e));
108108
} else {
109109
// Handle unexpected errors
110110
console.error('Unexpected error:', e);

0 commit comments

Comments
 (0)