commit | bff9992c986dea51fecdb784092639a99bef0679 | [log] [tgz] |
---|---|---|
author | Doug Kelly <doug.kelly@garmin.com> | Tue Jun 10 09:37:04 2014 -0500 |
committer | Doug Kelly <doug.kelly@garmin.com> | Tue Jun 10 09:37:04 2014 -0500 |
tree | 971e1e5631ebc3ad6912cd9546da638197112989 | |
parent | 66d74f6c465cbe7548ac40017cdaf829f650f1e5 [diff] |
Prevent NPE for corrupt accounts If an account is encountered where the external IDs exist but not the actual account entry, a NPE would result. Instead, prevent the NPE and throw an UnloggedFailure, and also guard the DB access from leaking resources with a try/finally. Change-Id: Id6416bb6f365d6eaf552e3b7cf108e13cc69154b