• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

openwisp / openwisp-firmware-upgrader / 26115584532

19 May 2026 04:48PM UTC coverage: 93.573% (-0.009%) from 93.582%
26115584532

push

github

web-flow
[fix] Prevent HTTP 500 on missing device credentials #250

When device credentials are deleted after a firmware image is
assigned, saving the device form crashes with an unhandled
`DoesNotExist` exception. This change catches
`ObjectDoesNotExist` and raises a `ValidationError` instead,
providing a user-friendly error message.

Several related edge cases are handled as well.

Closes #250

2213 of 2365 relevant lines covered (93.57%)

11.23 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

98.26
/admin.py


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc