Skip to content

Craft throws an exception if a redirect happens #23

@kaspar-allenbach

Description

@kaspar-allenbach

Hi.

We monitor our craft website now with new relic.

What we can see now is that if a redirect gets triggered a error appears:

Craft\HttpException: Uncaught exception 'Craft\HttpException' with message '' in /server_path/new/craft/app/controllers/TemplatesController.php:59

in Craft\TemplatesController::actionRender called at ? (?)
in ReflectionMethod::invokeArgs called at /server_path/craft/app/framework/web/actions/CAction.php (109)
in CAction::runWithParamsInternal called at /server_path/craft/app/framework/web/actions/CInlineAction.php (47)
in CInlineAction::runWithParams called at /server_path/craft/app/framework/web/CController.php (308)
in CController::runAction called at /server_path/craft/app/framework/web/CController.php (286)
in CController::runActionWithFilters called at /server_path/craft/app/framework/web/CController.php (265)
in CController::run called at /server_path/craft/app/framework/web/CWebApplication.php (282)
in CWebApplication::runController called at /server_path/craft/app/framework/web/CWebApplication.php (141)
in CWebApplication::processRequest called at /server_path/craft/app/etc/web/WebApp.php (288)
in Craft\WebApp::processRequest called at /server_path/craft/app/framework/base/CApplication.php (185)
in CApplication::run called at /server_path/craft/app/index.php (62)
in require_once called at /server_path/www/index.php (19)

But the redirect is successfull so everything is good. I wonder if this is a issue with your plugin or with craft itsself. Do you know anything about this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions