From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Wed, 10 May 2023 04:48:31 +0000 (-0700) Subject: Update document-detail.component.ts X-Git-Tag: v1.14.5~1^2~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7d95037be1a8836da56b7cc80cf31c7e3de6a8a;p=thirdparty%2Fpaperless-ngx.git Update document-detail.component.ts --- diff --git a/src-ui/src/app/components/document-detail/document-detail.component.ts b/src-ui/src/app/components/document-detail/document-detail.component.ts index bcce59441c..599ae85238 100644 --- a/src-ui/src/app/components/document-detail/document-detail.component.ts +++ b/src-ui/src/app/components/document-detail/document-detail.component.ts @@ -386,7 +386,9 @@ export class DocumentDetailComponent error: (error) => { this.suggestions = null this.toastService.showError( - $localize`Error retrieving suggestions` + ': ' + error.toString() + $localize`Error retrieving suggestions: ${JSON.stringify( + error + ).slice(0, 500)}` ) }, })