mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-07-30 18:27:45 -05:00
Update document-detail.component.ts
This commit is contained in:
@@ -386,7 +386,9 @@ export class DocumentDetailComponent
|
|||||||
error: (error) => {
|
error: (error) => {
|
||||||
this.suggestions = null
|
this.suggestions = null
|
||||||
this.toastService.showError(
|
this.toastService.showError(
|
||||||
$localize`Error retrieving suggestions` + ': ' + error.toString()
|
$localize`Error retrieving suggestions: ${JSON.stringify(
|
||||||
|
error
|
||||||
|
).slice(0, 500)}`
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
Reference in New Issue
Block a user