We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2e98b4 commit e0f8a5aCopy full SHA for e0f8a5a
1 file changed
app/models/plugin.rb
@@ -62,7 +62,7 @@ def install
62
rescue Exception => err
63
# If we have an issue installing, lets destroy the plugin to rollback, and put an error on the object so it displays on the form
64
self.destroy
65
- self.errors.add "Error installing plugin: #{err.message}"
+ self.errors.add :general, "Error installing plugin: #{err.message}"
66
end
67
else
68
# If we do, destroy the plugin to rollback, and then the form will display the errors
0 commit comments