congatudo / Congatudo

Cloud replacement for Conga vacuum robots enabling local-only operation
https://congatudo.cloud
Apache License 2.0
72 stars 22 forks source link

Fix restart loop with invalid restricted zones #75

Closed MrMarble closed 1 year ago

MrMarble commented 1 year ago

Type of change

Type A:

Type B:

Description (Type A)

An error was thrown when parsing the restricted zones if the coordinates were invalid due to corrupted or lost map data, causing a restart-loop as expressed in the linked issue, this fix wraps the getRestrictedZoneEntities method on CecotecCongaRobot with a try catch to prevent this error

Fixes #73