refactor: output errors on devtools (#928)
This commit is contained in:
parent
50c54144e6
commit
4e0777d723
9 changed files with 34 additions and 16 deletions
|
@ -24,7 +24,8 @@ const reload = async () => {
|
|||
await masto.loginTo(currentUser.value)
|
||||
clearError({ redirect: currentUser.value ? '/home' : `/${currentServer.value}/public/local` })
|
||||
}
|
||||
catch {
|
||||
catch (err) {
|
||||
console.error(err)
|
||||
state.value = 'error'
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue