diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2011-02-02 10:04:56 +0100 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2011-02-02 10:04:56 +0100 |
commit | a7017d68e1fb647f60a79f1733e80facea5fae07 (patch) | |
tree | 8e28d66edd992e0a1a9b9006b2157234b8512ac0 /data/rbot/plugins/games/quiz.rb | |
parent | 4d68eabaa8dabaecb5ea4af210acbb4d0b10249f (diff) |
httputil: nicer UI message when lacking ssl
Rather than complaining about a missing use_ssl= method, if net/https
fails to load we define a mock use_ssl= method that raises a runtime
error making the LoadError message public. This is not the most
user-friendly message (we would prefer not to expose internals), but
it should be clear enough to help owners that forget to read the log
find what's missing.
Diffstat (limited to 'data/rbot/plugins/games/quiz.rb')
0 files changed, 0 insertions, 0 deletions