diff options
author | Michael Albinus <michael.albinus@gmx.de> | 2019-10-27 09:36:56 +0100 |
---|---|---|
committer | Michael Albinus <michael.albinus@gmx.de> | 2019-10-27 09:36:56 +0100 |
commit | 6e66d9a95c49f867da26ca897635f5e57561d0c7 (patch) | |
tree | 979c5f7279fe0d76c92265bd6a4d3a17ecb8e473 /lisp | |
parent | 63fd71cd092de8daded15e32c268215b62c488b9 (diff) | |
download | emacs-6e66d9a95c49f867da26ca897635f5e57561d0c7.tar.gz emacs-6e66d9a95c49f867da26ca897635f5e57561d0c7.tar.bz2 emacs-6e66d9a95c49f867da26ca897635f5e57561d0c7.zip |
Some Tramp trace improvements
* lisp/net/tramp.el (tramp-call-process): `result' can also be nil.
* test/lisp/net/tramp-tests.el (tramp--test-timeout-handler):
Improve trace format.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/net/tramp.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index 97fcf553010..0dfde734f1d 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el @@ -4660,8 +4660,8 @@ are written with verbosity of 6." (setq error (error-message-string err) result 1))) (if (zerop (length error)) - (tramp-message vec 6 "%d\n%s" result output) - (tramp-message vec 6 "%d\n%s\n%s" result output error)) + (tramp-message vec 6 "%s\n%s" result output) + (tramp-message vec 6 "%s\n%s\n%s" result output error)) result)) (defun tramp-call-process-region |