Skip to content
Snippets Groups Projects
Commit 12de9fcb authored by Hazelnoot's avatar Hazelnoot
Browse files

fix error display

parent 0da7f9b3
No related branches found
No related tags found
No related merge requests found
......@@ -72,7 +72,7 @@ async function reload(): Promise<void> {
.catch(error => {
console.error('Error fetching user info', error);
return error.value =
loadError.value =
typeof(error) === 'string'
? String(error)
: JSON.stringify(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