mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
Enhancement: add ASN to consume rejection message (#6217)
This commit is contained in:
parent
fbe7acc6b0
commit
41fc11efff
@ -368,7 +368,7 @@ class Consumer(LoggingMixin):
|
||||
if Document.objects.filter(archive_serial_number=self.override_asn).exists():
|
||||
self._fail(
|
||||
ConsumerStatusShortMessage.ASN_ALREADY_EXISTS,
|
||||
f"Not consuming {self.filename}: Given ASN already exists!",
|
||||
f"Not consuming {self.filename}: Given ASN {self.override_asn} already exists!",
|
||||
)
|
||||
|
||||
def run_pre_consume_script(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user