Moved setter/getter from 'hub' code as also 'city' uses it.
[core.git] / index.php
index 51eb50ef9341ef86cdff5c5f4a9b4023502e5024..0a3ef741158afd0be661a3d36b0c1b63d8e4c89b 100644 (file)
--- a/index.php
+++ b/index.php
@@ -150,7 +150,7 @@ final class ApplicationEntryPoint {
 
                                // Flush the response
                                $responseInstance->flushBuffer();
-                       } catch (FileIoException $e) {
+                       } catch (FileNotFoundException $e) {
                                // Even the template 'emergency_exit' wasn't found so output both message
                                exit($message . ', exception: ' . $e->getMessage());
                        }