Commit a9884a8
authored
Remove audit and logger statement from extensions request check (#1828)
Older versions of NervesHubLink would crash if an unknown messages was
pushed down over the socket. Since extensions required a new message,
this could fail badly on older devices and so a check was put in place
to verify the Device API version NHL was reporting to know if it is safe
to request extension info or not.
This removes the audit log _and_ logger statement that was happening
when this safe check would not pass meaning the device version was too
old to request. However, this happens with _every_ socket connection and
can produce incredible amount of noise.
If that level of info is needed, I suggest a future change which shows
the device version reported and what that means for support on the
device (i.e. in the Device settings page perhaps?)1 parent 7393ed4 commit a9884a8
File tree
2 files changed
+1
-12
lines changed- lib
- nerves_hub_web/channels
- nerves_hub/audit_logs/templates
2 files changed
+1
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | 28 | | |
39 | 29 | | |
40 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
71 | | - | |
| 70 | + | |
72 | 71 | | |
73 | 72 | | |
74 | 73 | | |
| |||
0 commit comments