Use try , except and logger.exception : try: i = "hello" x = i / 3 except Exception as e: logger.exception('Exception!
確定! 回上一頁