From 639fc3793accd9059bda83ad44dcec4a2bf5b813 Mon Sep 17 00:00:00 2001 From: Matt Hill Date: Thu, 23 Jan 2025 13:44:29 -0700 Subject: [PATCH] dont show success message if smtp test fails --- web/projects/ui/src/app/pages/server-routes/email/email.page.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/projects/ui/src/app/pages/server-routes/email/email.page.ts b/web/projects/ui/src/app/pages/server-routes/email/email.page.ts index ebe59742e..e52bf32dd 100644 --- a/web/projects/ui/src/app/pages/server-routes/email/email.page.ts +++ b/web/projects/ui/src/app/pages/server-routes/email/email.page.ts @@ -65,7 +65,7 @@ export class EmailPage { ...value, }) } catch (e: any) { - this.errorService.handleError(e) + return this.errorService.handleError(e) } finally { loader.unsubscribe() }