Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
more consistent error message
  • Loading branch information
kraih committed Dec 21, 2012
1 parent bb88978 commit a6cac04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Mojo/Server.pm
Expand Up @@ -20,7 +20,7 @@ sub build_app {
local $ENV{MOJO_EXE};
local $ENV{MOJO_APP} = $app;
return $app->new unless my $e = Mojo::Loader->new->load($app);
die ref $e ? $e : qq{Application class "$app" could not be found.\n};
die ref $e ? $e : qq{Couldn't find application class "$app".\n};
}

sub build_tx { shift->app->build_tx }
Expand Down

0 comments on commit a6cac04

Please sign in to comment.