Skip to content

Commit

Permalink
Merge pull request #1291 from bastistician/fix-error-handling
Browse files Browse the repository at this point in the history
fix error handling in esslint()
  • Loading branch information
mmaechler authored May 13, 2024
2 parents 98c1643 + dbcff59 commit d941b25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lisp/ess-r-flymake.el
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ each element is passed as argument to `lintr::with_defaults'."
} else {
tryCatch(lintr::lint(commandArgs(TRUE), ...),
error = function(e) {
cat('@@warning: @@', e)
cat('@@warning: @@', conditionMessage(e))
})
}
}
Expand Down

0 comments on commit d941b25

Please sign in to comment.