deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Improved error handling / reporting in client
Date Fri, 10 Feb 2012 12:55:59 GMT

This patch will add support for more detailed and verbose error
reporting to client.

I added all HTTP exceptions that may occur on server side and they
should be properly translated to client exceptions.

Basically there will be three kinds of exceptions:

ClientError -> 404 and friends
ServerError -> 50x
UnknownError -> anything else ;-)

For ServerError, in addition to the standard exception a backtrace from
the DC server will be printed to client console and client can also
check request parameters and current driver/provider handshake.

I hope this will help us improve debugging and make clients happy :-)

  -- Michal

View raw message