Skip to content

Commit 691c33e

Browse files
committed
fix(Thread): add error message for emails not able to be opened
Signed-off-by: Grigory V <[email protected]>
1 parent e38f45f commit 691c33e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/components/Thread.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,9 @@ export default {
312312
this.error = t('mail', 'Could not load your message thread')
313313
this.errorMessage = t('mail', 'The thread doesn\'t exist or has been deleted')
314314
this.loading = false
315+
} else if (error?.response?.status === 500) {
316+
this.error = { message: t('mail', 'Email was not able to be opened') }
317+
this.loading = false
315318
} else {
316319
this.errorMessage = t('mail', 'Could not load your message thread')
317320
}

0 commit comments

Comments
 (0)