fix python 3 compatibility by using str(exc) instead of exc.message

1 job from master in 32 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Test
passed #349
build

00:32