Skip to content

Commit

Permalink
feat: Updated scalafix/rules/src/main/scala/fix/Gi
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-ai[bot] authored Jan 10, 2024
1 parent 0ec3d61 commit d3eee6e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scalafix/rules/src/main/scala/fix/GitHubActionsFix.scala
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ class GitHubActionsFix extends SemanticRule("GitHubActionsFix") {
val errorHandlingPatch = addErrorHandling()

fixPatch + errorHandlingPatch
} catch {
Patch.logger.error("An error occurred during the GitHub Actions fix: " + e.getMessage)
Patch.empty
} catch {
case e: Exception =>
// Log the error message in case of failures
Patch.logger.error("An error occurred during the GitHub Actions fix: " + e.getMessage)
Expand Down

0 comments on commit d3eee6e

Please sign in to comment.