Commit 79008a7a by Torkel Ödegaard

added another error message scenario

parent 2bc26a01
......@@ -157,6 +157,8 @@ export class DataPanel extends Component<Props, State> {
message = err.data.message;
} else if (err.data && err.data.error) {
message = err.data.error;
} else if (err.status) {
message = `Query error: ${err.status} ${err.statusText}`;
}
onError(message, err);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment