Added more informative error messages

This commit is contained in:
Polonkai Gergely 2011-09-29 18:55:48 +02:00
parent 2360a9d3a5
commit 30f450df66

View File

@ -11,7 +11,7 @@ try
}
catch (PDOException $e)
{
header('Status: 500 Internal Server Error');
header('Status: 500 Internal Server Error (DB)');
exit;
}
@ -21,7 +21,8 @@ try
}
catch (Exception $e)
{
header('Status: 500 Internal Server Error');
header('Status: 500 Internal Server Error (Backend)');
exit;
}
jsonRPCServer::handle($smsSender);
jsonRPCServer::handle($smsSender);