Added a rule action that will delete the transactions it matches.

This commit is contained in:
James Cole
2020-05-16 11:21:26 +02:00
parent 173e196bc8
commit 86f14885eb
6 changed files with 88 additions and 4 deletions

View File

@@ -87,7 +87,7 @@ class Handler extends ExceptionHandler
);
}
return response()->json(['message' => 'Internal Firefly III Exception. See log files.', 'exception' => get_class($exception)], 500);
return response()->json(['message' => sprintf('Internal Firefly III Exception: %s', $exception->getMessage()), 'exception' => get_class($exception)], 500);
}
if ($exception instanceof NotFoundHttpException) {