[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: try/catch not swallowing errors
From: |
Mike Miller |
Subject: |
Re: try/catch not swallowing errors |
Date: |
Sat, 13 Apr 2019 12:38:57 -0700 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
On Sat, Apr 13, 2019 at 17:24:19 +0200, Daniel Kraft wrote:
> That looks correct to me. When I do exactly the same (use error() in
> C++) in an .oct file of mine, it works, though. That's why I guess it
> could be related to packages somehow.
I think it may be more specific than that. Can you try the same example,
but call 'fload' with an invalid file descriptor? I tried that and the
error message was suppressed, and shows up with 'lasterror'.
try
fload (99);
catch
end_try_catch
--
mike