Skip to content

Firefly III: a personal finances manager

More logging for validation.

James Coleac1137d7e873
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;
}