On Tue, Oct 16, 2007 at 09:45:30PM +0200, Alfredo Braunstein wrote: > Andre Poenitz wrote: > > >> > Writing the emergency file is only part of what I want. I also want to > >> > present the user with a dialog telling him about the error and giving > >> > him the option to continue at his own risk. > >> > > >> > There is absolutely no reason to abort if i.e. s&r or loading of an > >> > icon failed. > >> > >> s&r what? > > > > Search and replace. > > I mean, we don't assert normally when the search string is not found (now > that's an idea!), there's surely something worse happening. > > >> It may be that failure of loading of an icon has no consequences, > >> it may be that it leads to memory corruption, it depends on details of > >> how the code is written. Same thing goes for some s&r assert failure. > > > > Let the user choose. > > The user can choose to rerun the program anyways.
That's not a real choice. _We_ choose to crash. Andre'