_dal_query (napalm_zyxel/zyxel_driver.py ~230-247) catches every exception and returns None:
exceptException:returnNone
Its callers turn None into empty data, so a failed DAL request reads as "nothing configured"; get_facts turns a failed get_interfaces into interface_list=[].
Expected
A failed DAL request raises (ConnectionException for transport/auth errors, RuntimeError naming the endpoint otherwise); empty data only when the gateway answered with none. Test-first: a DAL request raising makes the getter raise.
Priority: P3 — empty gateway state in netOrk after any transient error.
## What happens
`_dal_query` (`napalm_zyxel/zyxel_driver.py` ~230-247) catches every exception and returns `None`:
```python
except Exception:
return None
```
Its callers turn `None` into empty data, so a failed DAL request reads as "nothing configured"; `get_facts` turns a failed `get_interfaces` into `interface_list=[]`.
## Expected
A failed DAL request raises (`ConnectionException` for transport/auth errors, `RuntimeError` naming the endpoint otherwise); empty data only when the gateway answered with none. Test-first: a DAL request raising makes the getter raise.
Priority: P3 — empty gateway state in netOrk after any transient error.
Found during the bug sweep of 2026-11-02 (#13).
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
What happens
_dal_query(napalm_zyxel/zyxel_driver.py~230-247) catches every exception and returnsNone:Its callers turn
Noneinto empty data, so a failed DAL request reads as "nothing configured";get_factsturns a failedget_interfacesintointerface_list=[].Expected
A failed DAL request raises (
ConnectionExceptionfor transport/auth errors,RuntimeErrornaming the endpoint otherwise); empty data only when the gateway answered with none. Test-first: a DAL request raising makes the getter raise.Priority: P3 — empty gateway state in netOrk after any transient error.
Found during the bug sweep of 2026-11-02 (#13).