Server exceptions should reasonably be 5xx

This commit is contained in:
Mikael Nordfeldth 2015-12-27 02:15:37 +01:00
parent b76461fc78
commit 62c4ffe889

View File

@ -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);
}