mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-01 04:31:03 -04:00
Dump any exceptions into the standard Kohana log as well as the task
log for maximum exposure.
This commit is contained in:
@@ -84,6 +84,7 @@ class task_Core {
|
||||
}
|
||||
$task->save();
|
||||
} catch (Exception $e) {
|
||||
Kohana::log("error", $e->__toString());
|
||||
$task->log($e->__toString());
|
||||
$task->state = "error";
|
||||
$task->done = true;
|
||||
|
||||
Reference in New Issue
Block a user