bitburner-official / bitburner-src

Bitburner source code.
Other
838 stars 273 forks source link

MISC: Include React component stack in Recovery Mode report #1750

Closed catloversg closed 3 weeks ago

catloversg commented 3 weeks ago

This component stack may not be useful in most cases, but having it in the report is harmless.

I use String(metadata.error) to suppress the false-positive no-base-to-string lint error. metadata.error is an instance of Error in most cases, but we specify the type as Record<string, unknown> for reasons that I don't know of.