On 07/04/2010, James Paige <[email protected]> wrote:
> On Wed, Apr 07, 2010 at 07:37:39AM +1200, Ralph Versteegen wrote:
>> On 6 April 2010 16:52, Mike Caron <[email protected]> wrote:
>> > Just FYI, as well, the panic message probably shouldn't be followed by
>> > "END
>> > 1". A Return NULL should suffice...
>> >
>> > I'm still working on cracking this nut, though...
>> >
>> > [email protected] wrote:
>> >>
>> >> james
>> >> 2010-04-05 21:51:09 -0700 (Mon, 05 Apr 2010)
>> >> 141
>> >> Add descriptive debugs to all the failure conditions in
>> >> Reload.LoadDocument and Reload.SerializeBin.
>> >> Flandersize the "OHFUCK" error message.
>> >> ---
>> >> U   wip/reload.bas
>> >
>> > --
>> > Mike
>>
>> It would be good to have error throwing with error levels. I felt a
>> little bit daunted by the task, but it's sorely lacking; I better get
>> around to it sometime... unless someone else wants to.
>
> What is involved?
>
> ---
> James

Well, first you need to design some error levels, such as "report
interesting minor error was logged when quitting"/figure out how to
report various types of errors, and replace most debug's spread
throughout the source to calls to error/warning throwing functions.
Unfortunately, I believe there are lots of mismatches between error
severity and recovery: if no attempt is made to recover from something
minor, then I guess an error box should be popped up.

There's also the problem of the location of the debug log file
changing when a game is loaded; something I've been meaning to fix
ever since you pointed out how annoying it is (my intention at the
time was that the output directory for exported files would be the
game directory and I didn't consider the log file at first). It is
extremely annoying.
_______________________________________________
Ohrrpgce mailing list
[email protected]
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org

Reply via email to