better print exception