Ticket #167 (closed enhancement: fixed)
raise error when client gets a remoting.STATUS_ERROR
| Reported by: | nick | Owned by: | nick |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.1 |
| Component: | Gateway | Version: | 0.1b |
| Keywords: | Cc: |
Description
when the client module calls a method on a gateway like:
from pyamf.remoting import client gw = client.RemotingService("http://demo.pyamf.org/gateway/echo") service = gw.getService('spam') print service.eggs()
produces: <pyamf.remoting.ErrorFault object at 0x8473d0c>
not very helpful. The client should raise an exception here, trying to build the error from the underlying object, but falling back on pyamf.remoting.RemotingError?
Change History
Note: See
TracTickets for help on using
tickets.
