Permalink
Browse files

Return status code 500 if the proxy script fails

  • Loading branch information...
lanthaler committed Jun 7, 2013
1 parent 73c32cd commit 3763b593d62b3b8cde26155790209989132c3716
Showing with 2 additions and 0 deletions.
  1. +2 −0 proxylib.php
@@ -703,6 +703,8 @@ public function handleException(Exception $exception)
*/
protected static function _sendFatalError($message)
{
header('HTTP/1.1 500 Internal Server Error');
die($message);
}
}

0 comments on commit 3763b59

Please sign in to comment.