CarletonURocketry / ground-station

The ground station software used to interface with the ground station LoRa board and distribute signals from the rocket across websocket connections.
https://carletonurocketry.github.io/ground-station/
MIT License
6 stars 5 forks source link

Update logging and error handling #101

Closed EliasJRH closed 1 month ago

EliasJRH commented 1 month ago

This PR updates some logging levels from INFO to DEBUG. This PR also adds DataBlockException which is raised if an error occurs while parsing a datablock and is handled by displaying the information about the block that raised the error.

In the parse_radio_block function, some of the try catches were moved around to more accurately represent when errors might occur while parsing and how they should be handled.