api/insert: document the assertion failure If a bad api url was provided it might show up there.
1 files changed, 1 insertions(+), 1 deletions(-) M tshistory_client/api.py
M tshistory_client/api.py +1 -1
@@ 86,7 86,7 @@ class Client: } ) - assert res.status_code in (200, 201, 405, 418) + assert res.status_code in (200, 201, 405, 418), f'{res.status_code} {res.text}' if res.status_code == 405: raise ValueError(res.json()['message'])