1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-19 16:01:34 +02:00

Improved error logging

This commit is contained in:
Hillel Coren 2018-07-26 12:13:41 +03:00
parent 657fc9a63e
commit d7f57e2758

View File

@ -107,7 +107,7 @@ class CheckData extends Command
->subject("Check-Data: " . strtoupper($this->isValid ? RESULT_SUCCESS : RESULT_FAILURE) . " [{$database}]");
});
} elseif (! $this->isValid) {
throw new Exception('Check data failed!!');
throw new Exception("Check data failed!!\n" . $this->log);
}
}