Changed exception catch to print to stdout with traceback