bug: catch errors when sending commands to vnish with a bad token.

This commit is contained in:
UpstreamData
2023-04-13 13:34:55 -06:00
parent 8e37d72337
commit e25cc1d85e

View File

@@ -98,6 +98,8 @@ class VNishWebAPI(BaseWebAPI):
pass
except json.JSONDecodeError:
pass
except AttributeError:
pass
async def multicommand(
self, *commands: str, ignore_errors: bool = False, allow_warning: bool = True