]> arthur.barton.de Git - bup.git/commit
save: catch and log SSH errors
authorGabriel Filion <gabster@lelutin.ca>
Thu, 4 Sep 2014 06:53:14 +0000 (02:53 -0400)
committerRob Browning <rlb@defaultvalue.org>
Thu, 11 Sep 2014 19:33:10 +0000 (14:33 -0500)
commite9dd83a1fd86630e98d44a37a3deb48912c787c5
treea0ea1a66ddfdf0cb7ecefb919dd7b85c0fb3781e
parent7015580d094d7b53002728a393cf913461cef3d6
save: catch and log SSH errors

Currently, if the ssh connection to the remote server fails, we get the
server errors, then an ugly traceback that ends up saying "look at the
errors above". It makes it look like the traceback is part of the errors
that we need to look at, when in reality it's just an exception that's
not handled correctly by bup-save.

Signed-off-by: Gabriel Filion <gabster@lelutin.ca>
[rlb@defaultvalue.org: adjust commit summary]
Reviewed-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
cmd/save-cmd.py