haosenwang1018 opened a new pull request, #18821:
URL: https://github.com/apache/tvm/pull/18821

   ## What
   Replace 6 bare `except:` clauses with `except Exception:`.
   
   ## Why
   Bare `except:` catches `BaseException`, including `KeyboardInterrupt` and 
`SystemExit`, which can prevent clean process shutdown and mask critical 
errors. Using `except Exception:` catches all application-level errors while 
allowing system-level exceptions to propagate correctly.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to