Commit Graph

2 Commits

Author SHA1 Message Date
Pascal Hartig
0c85da8651 Demote unhelpful "Network Error" from axios to warning
Summary:
Axios can create rather unhelpful errors, e.g. https://www.internalfb.com/logview/details/flipper_javascript/3201603bcb7148a3f37775f184dbda44?trace_key=f2a7f3d0e7b914b8a3adf30648263313&selected-logview-tab=shared

This should hopefully turn them into warnings.

Reviewed By: antonk52

Differential Revision: D45043390

fbshipit-source-id: 90108b7056943214d78ec9c235ac11aae9a7ecdc
2023-04-17 05:06:50 -07:00
Luke De Feo
a9b17ac637 Add log tailing infra and downgrade resize observer error to warn
Summary: Resize oberserver limit exceeded appears to be a benign error that we can safely ignore, added ability to change log level. Given we report errors to our user logs, fb log view and console the console log patching has been centralised and now logs are pushed to whatever destinations we have.

Reviewed By: lblasa

Differential Revision: D44666836

fbshipit-source-id: e028dbc52b00947097833f9f3619189226247e1d
2023-04-04 07:58:57 -07:00