diff options
author | Ludovic Courtès <ludo@gnu.org> | 2018-01-07 22:13:45 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2018-01-07 23:46:39 +0100 |
commit | 896fec476f728183b331cbb6e2afb891207b4205 (patch) | |
tree | 4050777410d82679d9a0b9ab7db087294d210bca /nix/nix-daemon | |
parent | 4a8d536ffe4cac1822d9655e0871fdc1684d569b (diff) |
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 'nix/nix-daemon')
0 files changed, 0 insertions, 0 deletions