Skip to content

Missing view: throw an error or log a warning? #129

@jaysylvester

Description

@jaysylvester

citizen currently throws an error if the controller's specified view doesn't exist. If the controller is meant to perform an action and not render a view, setting view: false in the return statement bypasses that error.

Should the default behavior for a missing view be to log a warning instead of throwing a 500?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions