f-990629-0

ldmud-3.2.9/src/bugs/f-990629-0 · 683 B

From the archive ldmud-329.tar.gz

Download the archive   « Back to the archive contents

Short: Error handling within a catch.
From: Michael Sporn
Date: 990629
Type: Feature
State: Unclassified

Immediate error handling should be independent from a catch(), as too
many people forget to handle errors returned by a catch.

Maybe a modification to runtime/heartbeat/log_error, giving an extra
parameter 'is_caught', and if is_caught is true, the return value decides
if the driver prints a traceback or not before doing the actual catch.

In general, the error and diagnostic handling is much too confused.

--- See the discussion on amylaar-users in November '2000. The error routine
could be set by a hook, and if not set, the driver could fall back to the
old routines.

Site Stats

Snippets: 1791
Codebases: 571