Merge branch 'develop' of https://github.com/sonikarc/firefly-iii into develop

This commit is contained in:
Stewart Malik 2014-11-09 16:01:20 +00:00
commit 6a18f81cec

View File

@ -104,14 +104,12 @@ class Limit extends Ardent
try {
$repetition->save();
\Log::debug('Created new repetition with id #' . $repetition->id);
// @codeCoverageIgnoreStart
} catch (QueryException $e) {
// do nothing
\Log::error('Trying to save new Limitrepetition failed!');
\Log::error($e->getMessage());
}
// @codeCoverageIgnoreEnd
if (isset($repetition->id)) {
\Event::fire('limits.repetition', [$repetition]);
}