diff options
author | Azul <azul@leap.se> | 2014-04-04 11:48:24 +0200 |
---|---|---|
committer | Azul <azul@leap.se> | 2014-04-04 11:48:50 +0200 |
commit | 85aabe832eb3eec10a29054ef5575618686eef33 (patch) | |
tree | 38492b2bd598bcc7cca1c111201382b2ede23259 /test/functional/v1/services_controller_test.rb | |
parent | 7b4f9ad334ec702449fdc683ea8fc312e06b2bd9 (diff) |
5382 - prevent crash when destroying tokens
An expired token was removed (probably by automatic cleanup) while processing it. So the webapp crashed due to a couch 404.
We're preventing that by rescueing from a 404 on Token.delete by default.
Diffstat (limited to 'test/functional/v1/services_controller_test.rb')
0 files changed, 0 insertions, 0 deletions