1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
Commit graph

4 commits

Author SHA1 Message Date
Mark A. Miller
f3e2c939f4 * Changed LoadError to Fog::Error::LoadError when missing configuration
* When running from command line, rescue the exception, and print the help message

When running fog for the first time with no setup, the missing_exception message
was surrounded above and below with a stack trace, which is not particularly
user-friendly. Since we've rescuing the LoadError only in bin/fog, we know
we don't have to worry about higher level libraries not getting the exception,
since it wouldn't propagate between processes.

Changing LoadError to Fog::Error::LoadError lets us know that this was
an issue on fog's part, rather than some other library we might be
using. Since we inherit from the LoadError class, any higher-level
libraries that were using a rescue based on LoadError will still work.
2011-08-14 08:09:35 -05:00
Luqman Amjad
48536cb036 Added new DNS provider => DNS Made Easy 2011-05-30 00:41:27 +01:00
geemus
3022df2b23 Fixes error messaging when credentials missing
closes #287
2011-05-04 13:12:52 -07:00
geemus
dfd30e521f cleanup lib/fog by segregating shared into 'core' 2010-09-29 13:22:30 -07:00
Renamed from lib/fog/errors.rb (Browse further)