~go-bot/goose/trunk

Viewing all changes in revision 122.

  • Committer: Tarmac
  • Author(s): Horacio Durán
  • Date: 2014-05-02 16:54:26 UTC
  • mfrom: (119.2.9 json_encoded_errors)
  • Revision ID: tarmac-20140502165426-oldpuuvha3vlxrf8
[r=hduran-8] Added json encoded for ServerErrors

added jsonEncode function to novaservice that
tries to convert the given error into a 
ServerError and call its AsJSON method or
wrap the given error into a 500 ServerError
which will contain the original error message.

https://codereview.appspot.com/97870044/

R=gz

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: