Server exceptions should reasonably be 5xx
This commit is contained in:
parent
b76461fc78
commit
62c4ffe889
|
@ -45,7 +45,7 @@ if (!defined('STATUSNET') && !defined('LACONICA')) {
|
|||
|
||||
class ServerException extends Exception
|
||||
{
|
||||
public function __construct($message = null, $code = 400) {
|
||||
public function __construct($message = null, $code = 500) {
|
||||
parent::__construct($message, $code);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user