Output more info about exception

Before this line gave following output:

  Unexpected error: exceptions.NameError

After this, there's more info about this error:

  Unexpected error: exceptions.NameError, listenPort, <traceback object at  1>

"<traceback object at  1>" is completely useless, but I'm not sure if the
last one is always something like that so I didn't discard it.