|
From: | Jon Bright |
Subject: | Re: [Monotone-devel] Error handling via automate |
Date: | Mon, 11 Sep 2006 12:55:36 +0200 |
User-agent: | Thunderbird 1.5.0.5 (Windows/20060719) |
Thomas Keller wrote:
This, however, doesn't solve at all the problem how a client applicationshould be able to "weight" the fatalness of an error.
Right. Being that the current error handling doesn't have any knowledge about "fatalness", though, I'd suggest:
1. Make errors exit from automate stdio 2. Provide a way to mark errors as "don't need restart"3. Mark non-fatal errors as "don't need restart" as and when they're discovered and manually examined to make sure that that's true.
This seems like the kind of strategy likely to end up with reasonably robust, conservative error-handling which nonetheless doesn't require too many stdio restarts. Granted, it might take a little bit longer to get to that point.
-- Jon Bright Silicon Circus Ltd. http://www.siliconcircus.com
[Prev in Thread] | Current Thread | [Next in Thread] |