Re: Useless error message?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andreas Ericsson
Date: Thursday, April 22, 2010 - 3:27 am

On 04/22/2010 12:15 PM, Jonathan Nieder wrote:

So that would be the new error message for everything that fails, then?

One big reason why I'm not bothered with running the git-daemon on a
public server is that it's very simple. If something goes wrong, it
dies without fiddling about.

How would it benefit you if it said "fatal: Something went wrong, but
I didn't crash" instead of just hanging up? If you have the wrong
repo address, you'd still have to check up with whoever gave it to
you to get it right. If it *does* crash, you'd still have to get
hold of the server admin to tell him that it has crashed.

A minor patch to git-fetch, updating the error message with a few
possible reasons would be far better. I don't care about it myself,
but I'm sure such a patch would be a lot easier to get into git.git
than something that adds a lot of complexity to the git daemon.

-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Useless error message?, Aghiles, (Wed Apr 21, 2:17 pm)
Re: Useless error message?, Kim Ebert, (Wed Apr 21, 2:29 pm)
Re: Useless error message?, Jonathan Nieder, (Wed Apr 21, 3:19 pm)
Re: Useless error message?, Junio C Hamano, (Wed Apr 21, 11:33 pm)
Re: Useless error message?, Jonathan Nieder, (Thu Apr 22, 2:42 am)
Re: Useless error message?, Andreas Ericsson, (Thu Apr 22, 2:59 am)
Re: Useless error message?, Jonathan Nieder, (Thu Apr 22, 3:15 am)
Re: Useless error message?, Andreas Ericsson, (Thu Apr 22, 3:27 am)
Re: Useless error message?, Jonathan Nieder, (Thu Apr 22, 3:38 am)
Re: Useless error message?, Petr Baudis, (Thu Apr 22, 4:56 am)
Re: Useless error message?, Ilari Liusvaara, (Thu Apr 22, 5:44 am)
Re: Useless error message?, Aghiles, (Thu Apr 22, 1:13 pm)
[PATCH] daemon: report inaccessible repositories to user, Jonathan Nieder, (Thu Apr 22, 3:21 pm)