Exception object was not supplied there
This commit is contained in:
parent
0caf0612d0
commit
b530d385bc
|
@ -1456,7 +1456,7 @@ class Action extends HTMLOutputter // lawsuit
|
||||||
$this->endDocument('json');
|
$this->endDocument('json');
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
common_log(LOG_ERR, 'Handled '.get_class($e).' but cannot output into desired format: '._ve($e->getMessage()));
|
common_log(LOG_ERR, 'Handled serverError ('._ve($code).') but cannot output into desired format ('._ve($this->format).'): '._ve($msg));
|
||||||
}
|
}
|
||||||
|
|
||||||
exit((int)$code);
|
exit((int)$code);
|
||||||
|
@ -1512,7 +1512,7 @@ class Action extends HTMLOutputter // lawsuit
|
||||||
echo $msg;
|
echo $msg;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
common_log(LOG_ERR, 'Handled '.get_class($e).' but cannot output into desired format: '._ve($e->getMessage()));
|
common_log(LOG_ERR, 'Handled clientError ('._ve($code).') but cannot output into desired format ('._ve($this->format).'): '._ve($msg));
|
||||||
}
|
}
|
||||||
exit((int)$code);
|
exit((int)$code);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user