Fix some nullable methods.

This commit is contained in:
James Cole
2020-08-02 12:19:10 +02:00
parent d0a01d73c4
commit 0219069766
3 changed files with 9 additions and 9 deletions

View File

@@ -238,7 +238,7 @@ class RecurrenceController extends Controller
$result = $recurring->fire();
} catch (FireflyException $e) {
Log::error($e->getMessage());
throw new FireflyException('200022: Error in cron job.');
throw new FireflyException('200022: Error in cron job.',0, $e);
}
if (false === $result) {
return response()->json([], 204);