From 5d17a4560f383a760107f095a1c1654eb3a90716 Mon Sep 17 00:00:00 2001 From: Hongbo Wu Date: Tue, 13 Jun 2023 16:57:35 +0800 Subject: [PATCH] add "please try again" in the error message toast --- packages/web/pages/settings/integrations.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/web/pages/settings/integrations.tsx b/packages/web/pages/settings/integrations.tsx index 2babac6c7..747233b3e 100644 --- a/packages/web/pages/settings/integrations.tsx +++ b/packages/web/pages/settings/integrations.tsx @@ -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') }