in reply to Trapping Network errors in SOAP::Lite
You should look at what 'on_fault' does:
on_fault()
This lets you specify a handler for on_fault event. The default behavior is to die on an transport error and to do nothing on other error conditions. You may change this behavior globally (see "DEFAULT SETTINGS") or locally, for a particular object.
So, by setting it to 'sub {}', you told it to ignore transport errors.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Trapping Network errors in SOAP::Lite
by shreya (Novice) on Nov 01, 2006 at 21:51 UTC | |
by jhourcle (Prior) on Nov 01, 2006 at 22:03 UTC | |
by shreya (Novice) on Nov 01, 2006 at 22:11 UTC |