Skip to content

Commit 6201fcb

Browse files
committed
Use user-error instead of error in cider-ensure-op-supported
1 parent 9502207 commit 6201fcb

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
@@ -561,7 +561,7 @@ When NO-DEFAULT is non-nil, it will return nil instead of \"user\"."
561561
"Check for support of middleware op OP.
562562
Signal an error if it is not supported."
563563
(unless (cider-nrepl-op-supported-p op)
564-
(error "Can't find nREPL middleware providing op \"%s\". Please, install (or update) cider-nrepl %s and restart CIDER" op (upcase cider-version))))
564+
(user-error "Can't find nREPL middleware providing op \"%s\". Please, install (or update) cider-nrepl %s and restart CIDER" op (upcase cider-version))))
565565

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

0 commit comments

Comments
 (0)