mirror of
https://github.com/arcan1s/ahriman.git
synced 2025-04-24 15:27:17 +00:00
atempt to read message too
This commit is contained in:
parent
3d7dc45938
commit
ab3b3c20c7
@ -37,7 +37,7 @@
|
||||
try {
|
||||
details = JSON.parse(error.text).error; // execution handler json error response
|
||||
} catch (_) {
|
||||
details = error.text ?? error;
|
||||
details = error.text ?? error.message ?? error;
|
||||
}
|
||||
createAlert(title, description(details), "text-bg-danger");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user