From ac1137d7e873fbfe23ff74fe8308d5202ca76b82 Mon Sep 17 00:00:00 2001 From: James Cole Date: Thu, 20 Jan 2022 06:11:02 +0100 Subject: [PATCH] More logging for validation. --- app/Validation/Account/WithdrawalValidation.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Validation/Account/WithdrawalValidation.php b/app/Validation/Account/WithdrawalValidation.php index 48e66f8bde..15919be9e2 100644 --- a/app/Validation/Account/WithdrawalValidation.php +++ b/app/Validation/Account/WithdrawalValidation.php @@ -63,7 +63,7 @@ trait WithdrawalValidation // if both values are NULL we return TRUE // because we assume the user doesnt want to submit / change anything. $this->sourceError = (string)trans('validation.withdrawal_source_need_data'); - Log::warning('Not a valid source. Need more data.'); + Log::warning('[a] Not a valid source. Need more data.'); return false; } @@ -137,7 +137,7 @@ trait WithdrawalValidation // if both values are NULL we return false, // because the source of a withdrawal can't be created. $this->sourceError = (string)trans('validation.withdrawal_source_need_data'); - Log::warning('Not a valid source. Need more data.'); + Log::warning('[b] Not a valid source. Need more data.'); return false; }