Merge branch 'master' of github.com:octobercms/october

This commit is contained in:
Samuel Georges 2015-04-21 20:16:01 +10:00
commit 1d30e4755f
1 changed files with 5 additions and 1 deletions

View File

@ -2,6 +2,7 @@
use Str;
use Model;
use Exception;
/**
* Model for logging system errors and debug trace messages
@ -38,7 +39,10 @@ class EventLog extends Model
$record->details = (array) $details;
}
$record->save();
try {
$record->save();
}
catch (Exception $ex) {}
return $record;
}