starknet-remix-plugin
starknet-remix-plugin copied to clipboard
Collect plugin and Cairo error information
As owners of Starknet remix plugin we would like to collect error information for analytics and trouble shooting. The error information includes:
- Remix plugin UI errors
- Backend API errors
- Cairo compilation errors
IMPORTANT: Ensure that the plugin "notices" include a mention of collecting usage stats for UX analytics.
NOTE: This feature should probably be implemented as extension to "usage metrics" (https://github.com/NethermindEth/starknet-remix-plugin/issues/88), ie. by ensuring that relevant log entries are recorded by backend API module. For Cairo compiler errors, it will be necessary to process/parse the compiler/Scarb outputs and distill error details information from them. NOTE2: Make sure care is taken to not record any user IP information. We only want error stats, and must not capture information owned by the plugin users.