Harro Verton, no i didn't alter it. I checked that all works fine on the localhost, and error occurs only on production server. May be it related with some server settings?
// Generate the request, execute it and send the output. try { $response = Request::forge()->execute()->response(); } catch (HttpNotFoundException $e) { // ... }
If that code block is there, it can also be that your _404_ route is missing from your routes.php config file. If that is the case, index.php will rethrow the exeception as unhandled.