Don't print None if there is no exception