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 11:42:54 +0000 (13:42 +0200)
commitf8eb80bac75df3b69ec0713524c8bb1169d7d3b9
treece2030020c4385ca21f9eec005dd4a0b89ad5b24
parent443f7d67c6908f9e8ead5f72c8de9f1c41b2ad60
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>
applications/luci-app-banip/htdocs/luci-static/resources/view/banip/overview.js