FIX: Show error message if message exists
This commit is contained in:
parent
b380ed5282
commit
34684af195
|
@ -34,6 +34,8 @@ export function extractError(error, defaultMessage) {
|
|||
parsedError = parsedJSON.errors.join("<br>");
|
||||
} else if (parsedJSON.error) {
|
||||
parsedError = parsedJSON.error;
|
||||
} else if (parsedJSON.message) {
|
||||
parsedError = parsedJSON.message;
|
||||
} else if (parsedJSON.failed) {
|
||||
parsedError = parsedJSON.failed;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue