diff --git a/controller/SkosmosExceptions.php b/controller/SkosmosExceptions.php new file mode 100644 index 000000000..142ce46c4 --- /dev/null +++ b/controller/SkosmosExceptions.php @@ -0,0 +1,14 @@ +getMessage()); +//} +}catch(Exception $e) { header("HTTP/1.0 500 Internal Server Error"); - echo('ERROR: ' . $e->getMessage()); + echo(TimeoutException::throwExceptionMessage()); }