summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rust-rustfmt.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust-rustfmt.el b/rust-rustfmt.el
index d28c4ad..025ec32 100644
--- a/rust-rustfmt.el
+++ b/rust-rustfmt.el
@@ -352,7 +352,7 @@ Return the created process."
(when rust-format-on-save
(condition-case e
(rust-format-buffer)
- (error (format "rust-before-save-hook: %S %S"
+ (message (format "rust-before-save-hook: %S %S"
(car e)
(cdr e))))))