From dfe30c8a6c86172f89589280e69d89348c012af4 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 28 Jun 2019 10:59:20 -0400 Subject: [PATCH] todo --- doc/todo/better_error_messages_for_local_remote.mdwn | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 doc/todo/better_error_messages_for_local_remote.mdwn diff --git a/doc/todo/better_error_messages_for_local_remote.mdwn b/doc/todo/better_error_messages_for_local_remote.mdwn new file mode 100644 index 0000000000..189008596a --- /dev/null +++ b/doc/todo/better_error_messages_for_local_remote.mdwn @@ -0,0 +1,11 @@ +When using a local git remote on eg a removable drive, error messages don't +make clear if the problem occurred in the local git repo or the remote +repo. + +For example, I was copying files to a removable drive and got an error +about a broken git object, but it was not clear which repo had the broken +object in it. + +This should be fixable by eg, catching all exceptions when running Annex +operations on a remote, adding its path to the message and rethrowing. +--[[Joey]]