fix error display
This commit is contained in:
parent
0da7f9b3f6
commit
12de9fcb18
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user