Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #8923 (new defect)

Opened 2 years ago

Last modified 2 years ago

[PATCH] warn user about the actual error when failing to install a plugin

Reported by: terceiro Assigned to: core
Priority: normal Milestone: 2.x
Component: Railties Version: edge
Severity: normal Keywords:
Cc:

Description

When installing a plugin, I got as output:

Plugin not found: ["proto://url.to/plugin"]

After applying this patch I got:

Plugin not found: ["proto://url.to/plugin"]
The following error was found while trying to install your(s) plugin(s):
certificate verify failed

So I realized

Now at least the user can see what exactly happened with her failed plugin install.

I'm not sure about how I could unit test this change, but I can make a new patch with a test if someone tells me what to test.

Attachments

report_errors_in_failed_plugin_install.diff (0.5 kB) - added by terceiro on 07/09/07 15:19:57.
show what exactly happened with a crashed plugin install

Change History

07/09/07 15:19:57 changed by terceiro

  • attachment report_errors_in_failed_plugin_install.diff added.

show what exactly happened with a crashed plugin install

07/09/07 15:21:25 changed by terceiro

Continuing: "So I realized ..."

... that the problem was caused by a server with an untrusted certificate.