I have a try/finally clause in my script. Is it possible to get the exact error message from within the finally clause?
try
finally
You'll want to do that in the except clause, not the finally.
Refer to: http://www.doughellmann.com/articles/Python-Exception-Handling/