Ticket #167 (closed enhancement: fixed)

Opened 10 months ago

Last modified 9 months ago

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

comment:1 Changed 10 months ago by nick

  • status changed from new to accepted

comment:2 Changed 9 months ago by nick

  • status changed from accepted to closed
  • resolution set to fixed

Fixed in r1003.

Note: See TracTickets for help on using tickets.