Skip to content

Commit 7d38107

Browse files
committed
Improve the message displayed by cider-ensure-op-supported
1 parent 50d6ddc commit 7d38107

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cider-client.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ When NO-DEFAULT is non-nil, it will return nil instead of \"user\"."
557557
"Check for support of middleware op OP.
558558
Signal an error if it is not supported."
559559
(unless (cider-nrepl-op-supported-p op)
560-
(user-error "Can't find nREPL middleware providing op \"%s\". Please, install (or update) cider-nrepl %s and restart CIDER" op (upcase cider-version))))
560+
(user-error "`%s' requires the nREPL op \"%s\". Please, install (or update) cider-nrepl %s and restart CIDER" this-command op (upcase cider-version))))
561561

562562
(defun cider-nrepl-send-request (request callback &optional connection)
563563
"Send REQUEST and register response handler CALLBACK.

0 commit comments

Comments
 (0)