mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-09 09:58:20 -05:00
add id to document duplicate error message
This commit is contained in:
parent
905b28c1d7
commit
11ad8ada79
@ -120,7 +120,7 @@ class Consumer(LoggingMixin):
|
||||
self._fail(
|
||||
MESSAGE_DOCUMENT_ALREADY_EXISTS,
|
||||
f"Not consuming {self.filename}: It is a duplicate of"
|
||||
f" {existing_doc.get().title}",
|
||||
f" {existing_doc.get().title} (#{existing_doc.get().pk})",
|
||||
)
|
||||
|
||||
def pre_check_directories(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user