1
0
Fork 0

Added more informative error messages

master
Polonkai Gergely 12 years ago
parent 2360a9d3a5
commit 30f450df66

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

Loading…
Cancel
Save