mirror of
https://github.com/netinvent/npbackup.git
synced 2025-09-08 05:54:25 +08:00
GUI: Fix specific errors don't flush the queues
This commit is contained in:
parent
de89e524dd
commit
60a74067a4
1 changed files with 2 additions and 0 deletions
|
@ -649,6 +649,8 @@ class NPBackupRunner:
|
|||
f"Runner: Function {operation} failed with: {exc}", level="error"
|
||||
)
|
||||
logger.error("Trace:", exc_info=True)
|
||||
self.stdout.put(None)
|
||||
self.stderr.put(None)
|
||||
# In case of error, we really need to write metrics
|
||||
# pylint: disable=E1101 (no-member)
|
||||
metric_writer(self.repo_config, False, None, fn.__name__, self.dry_run)
|
||||
|
|
Loading…
Add table
Reference in a new issue