diff options
| author | Artyom V. Poptsov <poptsov.artyom@gmail.com> | 2018-03-08 18:48:12 +0300 |
|---|---|---|
| committer | Artyom V. Poptsov <poptsov.artyom@gmail.com> | 2018-03-08 18:48:12 +0300 |
| commit | e7901f5f05edfb7684dfc0e783cee134ffce57b5 (patch) | |
| tree | d5a9526924871aa95a4d78e1c4eb8968fde76c5a /doc/api-dist.texi | |
| parent | node.scm (node-run-server): Check return code (diff) | |
| download | guile-ssh-e7901f5f05edfb7684dfc0e783cee134ffce57b5.tar.gz | |
node.scm: Improve error handling
* modules/ssh/dist/node.scm: Improve error handling: throw an error with the
current node and the error code from the server. Log errors to the main
log.
* doc/api-dist.texi: Update.
Diffstat (limited to 'doc/api-dist.texi')
| -rw-r--r-- | doc/api-dist.texi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/api-dist.texi b/doc/api-dist.texi index e363c6e..23a06fb 100644 --- a/doc/api-dist.texi +++ b/doc/api-dist.texi @@ -202,7 +202,8 @@ Open a remote REPL (RREPL). Return a new RREPL channel. @end deffn @deffn {Scheme Procedure} node-run-server node -Run a REPL server on a @var{node}. +Run a REPL server on a @var{node}. Throw @code{node-error} with the current +node and the Guile return code from a server on an error. @end deffn @deffn {Scheme Procedure} node-stop-server node |
