durgaprasadml commented on PR #40481:
URL: https://github.com/apache/superset/pull/40481#issuecomment-4564121739

   Thanks for the review and for pointing out the issue with the 
os.path.exists() pre-check.
   
   I updated the implementation to follow the suggested EAFP-style handling by:
   - removing the explicit existence check
   - handling FileNotFoundError silently
   - continuing to log unexpected OSError / UnicodeDecodeError cases
   
   All checks are now passing successfully.


-- 
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