summaryrefslogtreecommitdiff
path: root/data/rbot/plugins/games/quiz.rb
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2011-02-02 10:04:56 +0100
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2011-02-02 10:04:56 +0100
commita7017d68e1fb647f60a79f1733e80facea5fae07 (patch)
tree8e28d66edd992e0a1a9b9006b2157234b8512ac0 /data/rbot/plugins/games/quiz.rb
parent4d68eabaa8dabaecb5ea4af210acbb4d0b10249f (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