thorrak / fermentrack

A replacement web interface for BrewPi
MIT License
134 stars 61 forks source link

Unhandled exception if an invalid BrewPiDevice ID is passed to the LCD API endpoint #744

Closed sentry-finland-i9[bot] closed 11 months ago

sentry-finland-i9[bot] commented 11 months ago

Sentry Issue: FERMENTRACK-E

BrewPiDevice.DoesNotExist: BrewPiDevice matching query does not exist.
(1 additional frame(s) were not displayed)
...
  File "app/api/lcd.py", line 21, in getLCD
    dev = BrewPiDevice.objects.get(id=device_id)