Skip to content
Snippets Groups Projects
Verified Commit e5df7fff authored by Mateusz Tyszczak's avatar Mateusz Tyszczak :scroll:
Browse files

Fix displaying error message in toasts

parent 6af1a76b
No related branches found
No related tags found
No related merge requests found
Pipeline #117663 passed
......@@ -14,7 +14,7 @@ export const toastError = (title: string, error: unknown) => {
} else {
description = error.message;
}
} else if ("message" in Error) {
} else if ("message" in error) {
description = (error as Error).message;
} else {
description = String(error);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment