Files
flipper/desktop/flipper-server-core
Lorenzo Blasa 8a1e484d0c Handle ws operations in a safe manner
Summary:
After doing some tests, any error thrown during ws events can result in flipper-server shutting down.

To avoid this, effectively, errors throughout should be properly handled.

The problem is that there's no guarantees this is or will be the case.

Instead, wrap the event handlers in a safe function execution wrapper. Any errors will be caught and logged.

Reviewed By: aigoncharov

Differential Revision: D37206923

fbshipit-source-id: 6f7cadc297ac39768030962c6eaadde55048fd21
2022-06-16 10:35:17 -07:00
..
2022-06-16 10:35:17 -07:00
2022-06-07 02:42:16 -07:00
2022-06-07 02:42:16 -07:00

flipper-server-core

Package that manages connections with flipper clients, queries for adb/idb clients, accepts incoming websocket connections and takes care of certificate exchange.

Used by Flipper desktop, flipper-server and flipper-dump