mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-29 02:57:45 +00:00
Basic logging for willMatchEverything #322
This commit is contained in:
@@ -13,6 +13,7 @@ namespace FireflyIII\Rules\Triggers;
|
||||
|
||||
|
||||
use FireflyIII\Models\TransactionJournal;
|
||||
use Log;
|
||||
|
||||
/**
|
||||
* Class AmountLess
|
||||
@@ -43,6 +44,7 @@ final class AmountLess extends AbstractTrigger implements TriggerInterface
|
||||
if (!is_null($value)) {
|
||||
return false;
|
||||
}
|
||||
Log::error(sprintf('Cannot use %s with a null value.', self::class));
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user