Open samdeane opened 3 years ago
Might be a limitation, but maybe they're not really aware of it.
@Archaegeo, was there something like exCall or expCall? I can't remember.
You can use pcall
to trap errors, but you don't get back everything you need, and you have to do it manually anyway, which is daft.
Hi there !
Improved error tracking is on our list, but we can't give a date or promise; many priority items are on the list long before that.
many priority items are on the list long before that.
I understand why that might be, but honestly, do everyone a favour. Fix the tools before you fix the API. You will be using the tools yourself to test the changes you make to the API.
And if your management won't sign off on it because they don't get that, then send 'em to me and I'll knock their heads together ;)
If an error occurs in a module you've imported with
require
, the current reporting system just gives up.Instead it should be possible to report the error, module and line number, as usual.
Whilst using
require
is obviously problematic for production, it's immensely useful during development.