When an error occurs in code initiated from main.js, there is never a stacktrace logged. Log messages the developers add are also swallowed. Is this a bug?
Yes, this is a known bug (see suggested temporary solution in the bug description).