lib/souls/generate/model.rb in souls-0.22.1 vs lib/souls/generate/model.rb in souls-0.22.2
- old
+ new
@@ -11,10 +11,13 @@
f.write <<~EOS
class #{class_name.camelize} < ActiveRecord::Base
end
EOS
end
+ puts "Created file! : #{file_path}"
file_path
+ rescue StandardError => e
+ raise StandardError, e
end
end
end
end