Skip to content

Commit 9a6a33a

Browse files
fix add_error
1 parent 366295b commit 9a6a33a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

composables/viewer_call.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ export function viewer_call(
5252
errors_store.add_error({
5353
code: error.code,
5454
route: schema.route,
55-
name: error.data.message,
56-
description: error.data.exception,
55+
name: error.message,
56+
description: error.message,
5757
})
5858
if (response_error_function) {
5959
response_error_function(error)

0 commit comments

Comments
 (0)