issues
search
vyos-contrib
/
pyvyos
Python SDK for interacting with VyOS API
MIT License
10
stars
5
forks
source link
Update api request error msg
#13
Open
roukell
opened
1 week ago
roukell
commented
1 week ago
Issue:
When
response.status == 400
, the error message is hard coded to
http error
.
Solution:
Modified
def _api_request
to ensure the function returns a proper error message.
Issue:
response.status == 400
, the error message is hard coded tohttp error
.Solution:
def _api_request
to ensure the function returns a proper error message.