Try really hard to find out if the real exception was a timeout
authorTom Hughes <tom@compton.nu>
Sat, 7 Jan 2012 15:03:25 +0000 (15:03 +0000)
committerTom Hughes <tom@compton.nu>
Sat, 7 Jan 2012 15:03:25 +0000 (15:03 +0000)
commit63cc3c195a03e469bc23b5bf2b60f4435c57c443
tree8f98cd3fff8eebf3b99ca0beae3b599810bd0232
parent55dda7b18497afde3ef379fc091761137f16c4c1
Try really hard to find out if the real exception was a timeout

Helpfully rails manages to wrap the actual exception that occurred
in at least one, and sometimes two further levels of exception, one
of which does preserve the original exception except as text.
app/controllers/application_controller.rb