tutanota icon indicating copy to clipboard operation
tutanota copied to clipboard

Failing to report errors correctly

Open charlag opened this issue 1 year ago • 0 comments

There was a change in c8e34cdd5e5653266b0f2346f21379f9236494cb which changed how we report errors.

Unfortunately Errors 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

charlag avatar Aug 03 '22 09:08 charlag