Skip to content

Instantly share code, notes, and snippets.

@marcusramberg
Created July 25, 2012 08:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marcusramberg/3175112 to your computer and use it in GitHub Desktop.
Save marcusramberg/3175112 to your computer and use it in GitHub Desktop.
flail
unless ($ok) {
my $e = Mojo::Exception->new($self->tt->error.'');
$$output = '';
$c->app->log->error(qq/Template error in "$t": $e/);
$c->render_exception($e);
$self->tt->error('');
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment