Add some debug info

This commit is contained in:
James Cole
2020-05-16 06:59:15 +02:00
parent b248bd6d0c
commit 9a52cfbfbe
3 changed files with 3 additions and 2 deletions

View File

@@ -283,7 +283,7 @@ class TransactionController extends Controller
try {
$transactionGroup = $this->groupRepository->store($data);
} catch (DuplicateTransactionException $e) {
Log::warning('Caught a duplicate. Return error message.');
Log::warning('Caught a duplicate transaction. Return error message.');
// return bad validation message.
// TODO use Laravel's internal validation thing to do this.
$response = [