commit | 4c746949154df2710c411d512a88afb27a54fe62 | [log] [tgz] |
---|---|---|
author | Shawn Pearce <sop@google.com> | Wed Aug 14 23:42:59 2013 -0700 |
committer | Shawn Pearce <sop@google.com> | Wed Aug 14 23:42:59 2013 -0700 |
tree | 506293c0b84481596d656ab4cce258b6f669bfac | |
parent | 81a37a868edead7c56c25ade913fc81f224a6013 [diff] |
Ignore OrmDuplicateKeyException during PUT .../reviewed If the reviewed flag has already been set for the calling user return 200 OK instead of throwing a 500 error at the client. This condition can be caused by a race between the getExisting() call and the database write being completed. Change-Id: I1e4c6391cf7e3cfed280dee6abd749fb0934dec0