print exception message