|
Repo Added
|
Files
48
|
Badge
README BADGES
|
push
github
[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
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|
| Builds | Branch | Commit | Type | Ran | Committer | Via | Coverage |
|---|---|---|---|---|---|---|---|
| 26116044218 | 1.2 | [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` ... | push | github |
97.5 |
||
| 26113442819 | 1.2 | [ci] Bound setuptools to <82 due to removal of pkg_resources | push | github |
97.57 |