luci-app-banip: handle json load errors
authorDirk Brenken <dev@brenken.org>
Mon, 22 Apr 2024 20:28:58 +0000 (22:28 +0200)
committerDirk Brenken <dev@brenken.org>
Mon, 22 Apr 2024 20:28:58 +0000 (22:28 +0200)
commit32babe7069c2297ae8f2578e38762b3406bc84d7
tree21357dfd0b7bf978f05d63723a49c7b7b29b6031
parentaa463d007fcea9cd5164d7b6e678884589ca4ac2
luci-app-banip: handle json load errors

* properly handle possible json load errors in try/catch blocks

Signed-off-by: Dirk Brenken <dev@brenken.org>
applications/luci-app-banip/htdocs/luci-static/resources/view/banip/overview.js
applications/luci-app-banip/htdocs/luci-static/resources/view/banip/setreport.js