Forum Discussion
Twirrim_94896
Nimbostratus
Jul 18, 2011Exception Catching
I'm struggling a little with pycontrol and catching exceptions.
I've written a python script that parses the contents of a series of files in a directory (cvs managed), concatonates them int...
Twirrim_94896
Nimbostratus
Jul 25, 2011Yes, but that just allows me to do a graceful exit, what I'm trying to do is gracefully exit with just the error string. After a whole bunch of digging around I discovered needed to do "import suds" and then have "except suds.WebFault as details:", now I'm just working on cutting down details to just the error string rather than the whole message.
Found it really strange that there are codeshare examples against virtually everything in the API Docs, but not the error stuff. I know I never make an error, ever, so error catching is probably a waste of time for me to code in .. but still ;)
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
