Commit 813c45bb authored by Artemis's avatar Artemis 🐱

Added error log support

parent 5904f097
......@@ -102,7 +102,9 @@ class WriterController extends BaseController {
],
'title' => 'New article'
]));
return;
/** @var \Blog\Log\LoggerHandler $lh */
$lh = $this->rl->get('log');
$lh->error($e);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment