Skip to content

Commit d448321

Browse files
committed
Abort uploader if nextVisit message fails.
Previously, nextVisit post could fail silently, and the only indication would be the lack of an incoming message in the dev service.
1 parent f0c2428 commit d448321

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

python/tester/utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,7 @@ def send_next_visit(url, group, visit_infos):
359359
value_schema_level = dict(value_schema_id=SCHEMA_ID, records=[records_level])
360360

361361
r = requests.post(url, data=json.dumps(value_schema_level), headers=header)
362+
r.raise_for_status()
362363
_log.debug(f"Kafka proxy post status code {r.status_code} and response {r.content}")
363364

364365

0 commit comments

Comments
 (0)