mirror of
https://github.com/arcan1s/ahriman.git
synced 2025-07-08 19:45:46 +00:00
atempt to read message too
This commit is contained in:
@ -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");
|
||||
}
|
||||
|
Reference in New Issue
Block a user