git.gnu.io has moved to IP address 209.51.188.249 -- please double check where you are logging in.

Commit 62c4ffe8 authored by mmn's avatar mmn

Server exceptions should reasonably be 5xx

parent b76461fc
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment