mirror of https://github.com/micromata/borgbackup-butler.git

Kai Reinhard
11.51.2019 e020777afbc812c19322229286e57e259c7e1424
Internal error message in line 95 not correct for failed borg executable.
1 files modified
2 ■■■ changed files
borgbutler-core/src/main/java/de/micromata/borgbutler/jobs/AbstractJob.java 2 ●●● patch | view | raw | blame | history
borgbutler-core/src/main/java/de/micromata/borgbutler/jobs/AbstractJob.java
@@ -91,7 +91,7 @@
            // do nothing. It's normal that cancelled jobs fail.
            return;
        }
        if (this.status != Status.RUNNING) {
        if (this.status != null && this.status != Status.RUNNING) {
            logger.error("Internal error, illegal state! You shouldn't set the job status to FAILED if not in status RUNNING: " + this.status);
        }
        setStatus(Status.FAILED);