mirror of
https://github.com/tomaae/homeassistant-mikrotik_router.git
synced 2025-07-15 03:44:31 +02:00
Improved error message when release notes fetch fails #229
This commit is contained in:
parent
4da561f515
commit
6a089556db
1 changed files with 2 additions and 2 deletions
|
@ -97,8 +97,8 @@ class MikrotikUpdate(MikrotikEntity, UpdateEntity):
|
|||
if response.status_code == 200:
|
||||
return response.text.replace(chr(10), "<br />")
|
||||
|
||||
except:
|
||||
_LOGGER.warning("Mikrotik %s failed to download release notes", self._host)
|
||||
except Exception as e:
|
||||
_LOGGER.warning("Failed to download release notes (%s)", e)
|
||||
|
||||
return "Failed to download release notes"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue