mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
add "please try again" in the error message toast
This commit is contained in:
parent
dbafc9a40b
commit
5d17a4560f
1 changed files with 4 additions and 1 deletions
|
|
@ -120,7 +120,10 @@ export default function Integrations(): JSX.Element {
|
|||
showErrorToast('There was an error connecting to Pocket.')
|
||||
}
|
||||
} catch (err) {
|
||||
showErrorToast('Error: ' + err)
|
||||
showErrorToast(
|
||||
'There was an error connecting to Pocket. Please try again.',
|
||||
{ duration: 5000 }
|
||||
)
|
||||
} finally {
|
||||
router.replace('/settings/integrations')
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue