diff options
author | Bozhidar Batsov <bozhidar@batsov.com> | 2017-03-06 09:58:07 +0200 |
---|---|---|
committer | Bozhidar Batsov <bozhidar@batsov.com> | 2017-03-06 09:58:07 +0200 |
commit | e5854479032536efc27cd28aa94dd36434731787 (patch) | |
tree | 7b7b4761187ce1981d801f43cabad20a28b2eb42 /nrepl-client.el | |
parent | 49bb2129b7fb569d51674e829209e082e6b029bc (diff) |
Tweak some error messages
Diffstat (limited to 'nrepl-client.el')
-rw-r--r-- | nrepl-client.el | 4 |
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) |