1
0
Fork 0

Added more informative error messages

This commit is contained in:
Polonkai Gergely 2011-09-29 18:55:48 +02:00
parent 2360a9d3a5
commit 30f450df66
1 changed files with 4 additions and 3 deletions

View File

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