mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-09 00:05:21 +01:00
Update document-detail.component.ts
This commit is contained in:
parent
fe990b4cd2
commit
d7d95037be
1 changed files with 3 additions and 1 deletions
|
|
@ -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)}`
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue