bowenliang123 commented on code in PR #6335: URL: https://github.com/apache/kyuubi/pull/6335#discussion_r1706307411
########## kyuubi-common/src/main/scala/org/apache/kyuubi/Utils.scala: ########## @@ -147,7 +147,12 @@ object Utils extends Logging { try { f.delete() } catch { - case e: Exception if !ignoreException => throw e + case e: Exception => + if (ignoreException) { + warn(s"ignored the exception when deleting file: ${f.toPath}") Review Comment: nice. Fixed. -- 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: notifications-unsubscr...@kyuubi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@kyuubi.apache.org For additional commands, e-mail: notifications-h...@kyuubi.apache.org