[API] Fix exception when UPDATE gearman message fails

Change-Id: I64ff3c5c4aea525d680d283623a5d8777bf05969
Merge "[API] Fix exception when UPDATE gearman message fails"