[Catalyst-commits] r10015 -
Catalyst-Devel/1.00/branches/improved-restarter/lib/Catalyst
autarch at dev.catalyst.perl.org
autarch at dev.catalyst.perl.org
Tue May 5 19:14:20 GMT 2009
Author: autarch
Date: 2009-05-05 19:14:20 +0000 (Tue, 05 May 2009)
New Revision: 10015
Modified:
Catalyst-Devel/1.00/branches/improved-restarter/lib/Catalyst/Watcher.pm
Log:
Actually report failure to load the Inotify module unless it's not
because Linux::Inotify2 isn't installed.
Modified: Catalyst-Devel/1.00/branches/improved-restarter/lib/Catalyst/Watcher.pm
===================================================================
--- Catalyst-Devel/1.00/branches/improved-restarter/lib/Catalyst/Watcher.pm 2009-05-05 15:51:00 UTC (rev 10014)
+++ Catalyst-Devel/1.00/branches/improved-restarter/lib/Catalyst/Watcher.pm 2009-05-05 19:14:20 UTC (rev 10015)
@@ -48,6 +48,7 @@
return Catalyst::Watcher::Inotify->new(@_);
}
else {
+ die $@ if $@ && $@ !~ /Can't locate/;
require Catalyst::Watcher::FileModified;
return Catalyst::Watcher::FileModified->new(@_);
}
More information about the Catalyst-commits
mailing list