Bugs: Browse | Submit New | Admin

[#17229] [patch] more complete error message when loading facebook.yml

Date:
2008-01-19 13:48
Priority:
3
Submitted By:
Fernando Correia (fernandocorreia)
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
[patch] more complete error message when loading facebook.yml

Detailed description
I had a situation with the Rails plugin[1] where I received the following message when running rake:

config/facebook.yml could not be loaded.

This message was not very informative of the root cause, so while debugging I added additional information to the message,
like so:

/home/fernando/tmp/test/config/facebook.yml could not be loaded (uninitialized constant YAML).

I think this additional information can benefit other users and it will cause no harm to the plugin, so I'm attaching
a patch.

[1] For a description of the original situation see
http://groups.google.com/group/rfacebook/browse_thread/thread/d1f275474f316f77

Add A Comment: Notepad

Please login


Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
init.rb.diff Patch for init.rb Download

Changes:

Field Old Value Date By
File Added3127: init.rb.diff2008-01-19 13:48fernandocorreia