Browse code

Make error message more useful

Cinan Rakosnik authored on 16/12/2012 at 02:59:24
Showing 1 changed files
... ...
@@ -8,7 +8,7 @@ module Rubysermon
8 8
 				capitalized_class = new_class.capitalize
9 9
 				return (Rubysermon.const_get capitalized_class).new
10 10
 			rescue LoadError
11
-				raise ModLoaderException, "File module not found"
11
+				raise ModLoaderException, "File module #{new_class} not found"
12 12
 			end
13 13
 		end
14 14