plugins: improve error handling on load
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Fri, 15 Nov 2013 20:56:34 +0000 (21:56 +0100)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Fri, 15 Nov 2013 20:56:38 +0000 (21:56 +0100)
commit3a6abd145f03aee8bcf1e3aab38f94e80860b18d
tree6c5621312e14d41b336a4f7c1b669911d5cbf7d0
parenta518b9d475ca8223c89cb036ee3841bab35e916b
plugins: improve error handling on load

Support OAuth2::Error braindead extension to StandardError and
wrap loading in an outer rescue to catch problems with the error
handling.
lib/rbot/plugins.rb