To see more than just the string representation of a Python Exception you can get more information from the calling stack frame and traceback using sys.exc_info()

From the (type, value, traceback) tuple returned you can log more detailed information on your exceptions.