Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

don't swallow stack traces on unchecked exception #306

Merged
merged 1 commit into from
Jun 25, 2022

Conversation

bjaglin
Copy link
Collaborator

@bjaglin bjaglin commented Jun 24, 2022

@bjaglin bjaglin force-pushed the dont-swallow-unchecked branch 2 times, most recently from d726607 to 1865001 Compare June 24, 2022 21:50
@@ -101,7 +101,9 @@ class ScalafixInterface private (

def rulesThatWillRun(): Seq[ScalafixRule] =
try scalafixArguments.rulesThatWillRun().asScala
catch { case NonFatal(e) => throw new InvalidArgument(e.getMessage) }
catch {
case e: ScalafixException => throw new InvalidArgument(e.getMessage)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bjaglin bjaglin force-pushed the dont-swallow-unchecked branch from 1865001 to 82187f1 Compare June 24, 2022 21:52
@bjaglin bjaglin changed the title don't swallow strack traces on unchecked exception don't swallow stack traces on unchecked exception Jun 24, 2022
@bjaglin bjaglin force-pushed the dont-swallow-unchecked branch from 82187f1 to 4d3533e Compare June 24, 2022 21:54
@bjaglin bjaglin marked this pull request as ready for review June 25, 2022 05:47
@bjaglin bjaglin merged commit 2243306 into main Jun 25, 2022
@bjaglin bjaglin deleted the dont-swallow-unchecked branch August 1, 2023 19:37
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant