summary refs log tree commit diff
path: root/etc
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-01-07 22:13:45 +0100
committerLudovic Courtès <ludo@gnu.org>2018-01-07 23:46:39 +0100
commit896fec476f728183b331cbb6e2afb891207b4205 (patch)
tree4050777410d82679d9a0b9ab7db087294d210bca /etc
parent4a8d536ffe4cac1822d9655e0871fdc1684d569b (diff)
downloadguix-896fec476f728183b331cbb6e2afb891207b4205.tar.gz
ssh: Improve error reporting when retrieving files.
'guix copy --from' now reports messages much more useful than "failed to
retrieve files".

* guix/ssh.scm (store-export-channel)[export]: Wrap 'use-modules' in
'catch' and 'with-store' in 'guard'.  Check for invalid items.  Write a
status sexp on stdout.
(raise-error): New macro.
(retrieve-files): Read the initial status sexp and report errors
accordingly.
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions