lib/vedeu/plugins/plugin.rb in vedeu-0.6.1 vs lib/vedeu/plugins/plugin.rb in vedeu-0.6.2

- old
+ new

@@ -38,13 +38,13 @@ # @return [void] def load! begin require gem_name unless enabled? rescue LoadError => error - raise Vedeu::VedeuError, + raise Vedeu::Error::Fatal, "Unable to load plugin #{gem_name} due to #{error}." rescue => error - raise Vedeu::VedeuError, + raise Vedeu::Error::Fatal, "require '#{gem_name}' failed with #{error}." end @enabled = true end