added comments to form class.
This commit is contained in:
@@ -52,6 +52,11 @@ return array(
|
||||
|
||||
'handler' => function($exception, $severity, $message, $config)
|
||||
{
|
||||
if ($config['log'])
|
||||
{
|
||||
call_user_func($config['logger'], $severity, $message);
|
||||
}
|
||||
|
||||
if ($config['detail'])
|
||||
{
|
||||
$data = compact('exception', 'severity', 'message');
|
||||
@@ -63,11 +68,6 @@ return array(
|
||||
$response = Response::error('500');
|
||||
}
|
||||
|
||||
if ($config['log'])
|
||||
{
|
||||
call_user_func($config['logger'], $severity, $message);
|
||||
}
|
||||
|
||||
$response->send();
|
||||
|
||||
exit(1);
|
||||
|
||||
Reference in New Issue
Block a user