From: Mikael Nordfeldth Date: Sun, 27 Dec 2015 01:15:37 +0000 (+0100) Subject: Server exceptions should reasonably be 5xx X-Git-Url: https://git.mxchange.org/?p=quix0rs-gnu-social.git;a=commitdiff_plain;h=62c4ffe889c0ba3938c86ddca9e2ffe7b78285db Server exceptions should reasonably be 5xx --- diff --git a/lib/serverexception.php b/lib/serverexception.php index 0dfbd04ffd..764e11c0fc 100644 --- a/lib/serverexception.php +++ b/lib/serverexception.php @@ -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); }