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

openwisp / openwisp-firmware-upgrader / 26116044218

19 May 2026 06:08PM UTC coverage: 97.497% (-0.08%) from 97.574%
26116044218

push

github

nemesifier
[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

(cherry picked from commit b0cc4d488)
(adaptations were made for this version branch)

1675 of 1718 relevant lines covered (97.5%)

12.67 hits per line

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

98.6
/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