summaryrefslogtreecommitdiff
path: root/nrepl-client.el
diff options
context:
space:
mode:
authorBozhidar Batsov <bozhidar@batsov.com>2017-03-06 09:58:07 +0200
committerBozhidar Batsov <bozhidar@batsov.com>2017-03-06 09:58:07 +0200
commite5854479032536efc27cd28aa94dd36434731787 (patch)
tree7b7b4761187ce1981d801f43cabad20a28b2eb42 /nrepl-client.el
parent49bb2129b7fb569d51674e829209e082e6b029bc (diff)
Tweak some error messages
Diffstat (limited to 'nrepl-client.el')
-rw-r--r--nrepl-client.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/nrepl-client.el b/nrepl-client.el
index 05729adb..ed08a54b 100644
--- a/nrepl-client.el
+++ b/nrepl-client.el
@@ -545,9 +545,9 @@ If NO-ERROR is non-nil, show messages instead of throwing an error."
(if (not (and host port))
(unless no-error
(when (not host)
- (error "nREPL host not provided"))
+ (error "[nREPL] Host not provided"))
(when (not port)
- (error "nREPL port not provided")))
+ (error "[nREPL] Port not provided")))
(message "[nREPL] Establishing direct connection to %s:%s ..." host port)
(condition-case nil
(prog1 (list :proc (open-network-stream "nrepl-connection" nil host port)