In index.php i have this code:
<?php
error_reporting(E_ALL/* & ~E_NOTICE*/);
try {
    // LOADING ALL RESOURCES
    $application = new \Phalcon\Mvc\Application($di);
    echo $application->handle()->getContent();
} catch (Ely\Exception\NotFoundException $e) {
    $di->get("dispatcher")->forward(array(
        "controller" => "Index",
        "action" => "route404"
    ));
} catch (\Exception $e) {
    echo $e->getMessage().PHP_EOL;
    print $e->getTraceAsString();
}And when in my controller i throw this exception:
$mod = Mods::findFirst(array("static_url = :url:", "bind" => array(
    "url" => $staticUrl
)));
if (!$mod)
    throw new Ely\Exception\NotFoundException();I see only white page and nothing more, no fatal\notice\warning, just white page. If i call dispatcher forward in position of exception all works fine, but this not so cool, because too long and not universally.
What i do wrong?