summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Woodward2010-06-05 14:27:10 -0400
committerJason Woodward2010-06-05 14:27:10 -0400
commitb54040107f59a4e0603f0f9d8f74f4e645ef6bf8 (patch)
treea0279b46052343649f1a55dd90e17dac230ea779
parentd6f2dfa80146d1bb9a688375d4d147b78b070e80 (diff)
downloadJaos-WebApp-b54040107f59a4e0603f0f9d8f74f4e645ef6bf8.tar.gz
properly report plugin register failure
-rw-r--r--lib/Jaos/WebApp.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Jaos/WebApp.pm b/lib/Jaos/WebApp.pm
index 0e4c8d4..0fcb135 100644
--- a/lib/Jaos/WebApp.pm
+++ b/lib/Jaos/WebApp.pm
@@ -163,7 +163,7 @@ sub load_plugin
$plugin_class->register($self, $opts);
};
if ($@) {
- die "Failed to load plugin $plugin_class $!";
+ die "Failed to load plugin $plugin_class: $@";
}
1;
}