output exception message to result