parent
3ee902f648
commit
0ff9cd710d
@ -233,7 +233,7 @@ function! s:nrepl_call(payload) dict abort
|
||||
if !exists('err')
|
||||
return nrepl#foreplay_connection#bdecode('l'.out.'e')
|
||||
endif
|
||||
throw 'nREPL: '.err
|
||||
throw 'nREPL Connection Error: '.err
|
||||
endfunction
|
||||
|
||||
finish
|
||||
@ -289,7 +289,7 @@ EOF
|
||||
if !exists('err')
|
||||
return nrepl#foreplay_connection#bdecode('l'.out.'e')
|
||||
endif
|
||||
throw 'nREPL: '.err
|
||||
throw 'nREPL Connection Error: '.err
|
||||
endfunction
|
||||
|
||||
finish
|
||||
|
@ -997,7 +997,7 @@ function! s:leiningen_connect()
|
||||
let s:leiningen_repl_ports[b:leiningen_root] = getftime(portfile)
|
||||
try
|
||||
call s:register_connection(nrepl#foreplay_connection#open(port), b:leiningen_root)
|
||||
catch /^nREPL: .*[Cc]onnection/
|
||||
catch /^nREPL Connection Error:/
|
||||
call delete(portfile)
|
||||
endtry
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user