luci-app-banip: handle load errors of the countries file
authorDirk Brenken <dev@brenken.org>
Fri, 26 Apr 2024 11:42:54 +0000 (13:42 +0200)
committerDirk Brenken <dev@brenken.org>
Fri, 26 Apr 2024 19:32:34 +0000 (21:32 +0200)
commit1f978052637ef9b7e040e44ee4ce1322d4da6ccb
tree75ddec356b0919d753ce8505ea46469d8538e109
parentad3f0544783768111faf37fab9d74d71b47f631e
luci-app-banip: handle load errors of the countries file

* properly handle/skip possible read errors in try/catch blocks

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit f8eb80bac75df3b69ec0713524c8bb1169d7d3b9)
applications/luci-app-banip/htdocs/luci-static/resources/view/banip/overview.js