mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-13 16:00:13 +00:00
More logging for validation.
This commit is contained in:
@@ -63,7 +63,7 @@ trait WithdrawalValidation
|
|||||||
// if both values are NULL we return TRUE
|
// if both values are NULL we return TRUE
|
||||||
// because we assume the user doesnt want to submit / change anything.
|
// because we assume the user doesnt want to submit / change anything.
|
||||||
$this->sourceError = (string)trans('validation.withdrawal_source_need_data');
|
$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;
|
return false;
|
||||||
}
|
}
|
||||||
@@ -137,7 +137,7 @@ trait WithdrawalValidation
|
|||||||
// if both values are NULL we return false,
|
// if both values are NULL we return false,
|
||||||
// because the source of a withdrawal can't be created.
|
// because the source of a withdrawal can't be created.
|
||||||
$this->sourceError = (string)trans('validation.withdrawal_source_need_data');
|
$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;
|
return false;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user