tutanota
tutanota copied to clipboard
Failing to report errors correctly
There was a change in c8e34cdd5e5653266b0f2346f21379f9236494cb which changed how we report errors.
Unfortunately Error
s have their properties on the prototype and Object.assign()
will not pick them up. Because of that we don't see any error content in a stacktrace.
Arguably we don't even need ErrorInfo
, we just need to use objToError()
in reportError()
of NativeWrapperCommands