From b8658989ef8eb3df2c2c2d118e93af5b218642d5 Mon Sep 17 00:00:00 2001 From: Shane Jaroch Date: Fri, 12 Apr 2024 16:44:45 -0400 Subject: [PATCH] uncomment raise for status on api client post? --- ntclient/services/api/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ntclient/services/api/__init__.py b/ntclient/services/api/__init__.py index 552bffc..f8f153d 100644 --- a/ntclient/services/api/__init__.py +++ b/ntclient/services/api/__init__.py @@ -56,7 +56,7 @@ class ApiClient: json=data, timeout=(REQUEST_CONNECT_TIMEOUT, REQUEST_READ_TIMEOUT), ) - # _res.raise_for_status() + _res.raise_for_status() return _res # TODO: move this outside class; support with host iteration helper method -- 2.52.0