Friday, August 10, 2012

WLST: No stack trace available

I am not a WLST pro, and I am still learning on the field...

something really frustrating is that I normally do:


thinking that dumpStack would be the equivalent of e.printStackTrace() in Java...
but most of the time I get the message "No stack trace available".
How irritating...

So the only solution I have found is to use

except Exception, inst:
    print('unable to create     JMSModule ' + jmsModule)
    print inst
    print sys.exc_info()[0]

No comments: