atk-common 3.8.0__py3-none-any.whl → 3.9.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- atk_common/classes/error_handler.py +2 -2
- {atk_common-3.8.0.dist-info → atk_common-3.9.0.dist-info}/METADATA +1 -1
- {atk_common-3.8.0.dist-info → atk_common-3.9.0.dist-info}/RECORD +6 -6
- {atk_common-3.8.0.dist-info → atk_common-3.9.0.dist-info}/WHEEL +0 -0
- {atk_common-3.8.0.dist-info → atk_common-3.9.0.dist-info}/licenses/license.txt +0 -0
- {atk_common-3.8.0.dist-info → atk_common-3.9.0.dist-info}/top_level.txt +0 -0
@@ -60,10 +60,10 @@ class ErrorHandler(IErrorHandler):
|
|
60
60
|
|
61
61
|
def handle_error(self, resp, status):
|
62
62
|
if is_http_status_internal(resp.status_code):
|
63
|
-
self.logger.
|
63
|
+
self.logger.error(resp.json().get('message'))
|
64
64
|
return create_response(status, resp.status_code, resp.json())
|
65
65
|
else:
|
66
|
-
self.logger.
|
66
|
+
self.logger.error(resp.text)
|
67
67
|
return create_response(status, resp.status_code, resp.text)
|
68
68
|
|
69
69
|
def get_response_error(self, resp):
|
@@ -20,7 +20,7 @@ atk_common/classes/__init__.py,sha256=O_VHYxAilmoz3i9L6jkwS-JZ4UaTezdhFiA5liNl1l
|
|
20
20
|
atk_common/classes/bo_logger.py,sha256=wo1-BNWZjzSnlcM7c0LB7tK__2g3BENXvSvCLEiTOME,2065
|
21
21
|
atk_common/classes/docker_handler.py,sha256=VNJecc2ZWcpwNBa61QTGM_kYrsoZTjktMcFRFGF4xI4,3048
|
22
22
|
atk_common/classes/env_handler.py,sha256=h3snKwHwDvfc2dt1vgHasqv8n_vnsI9J2MAr-XM5oow,1283
|
23
|
-
atk_common/classes/error_handler.py,sha256=
|
23
|
+
atk_common/classes/error_handler.py,sha256=DgRzWx4Yu8PKX1bqj55aWhrkqb92ebDaEwtxgKhTLls,3270
|
24
24
|
atk_common/classes/http_response_handler.py,sha256=l8CfntLPRHbB1nfUPPGnmTvQMAM29CVK4THG4FK1_4k,2128
|
25
25
|
atk_common/classes/rabbitmq_consumer.py,sha256=jct1UnfP-PU3IeWW2S_9dQ7FxmY0_M8YwZadFMv52j8,2936
|
26
26
|
atk_common/enums/__init__.py,sha256=hOSoKWIBUpRFaMN2tNJiel6iGI1MHj229OYnU1J8Jg0,2636
|
@@ -81,7 +81,7 @@ atk_common/utils/http_utils.py,sha256=eSRuQeDgN0ISQdByZqE6cIGXoorcAXz7PEtVntHUKA
|
|
81
81
|
atk_common/utils/internal_response_utils.py,sha256=2X9eLFEy1pO3Aesj1IRXg2yprwNcBDM5_dXaA5vfmMI,694
|
82
82
|
atk_common/utils/mq_utils.py,sha256=DmVcXIZHG45p7cQVvgen6OT8QbW_UifFFJGJBybTkJQ,1835
|
83
83
|
atk_common/utils/str_utils.py,sha256=sg3jwTTIfQvgGP-lcY5Xh4PXXhKWse_4HswBQYQKEo4,260
|
84
|
-
atk_common-3.
|
84
|
+
atk_common-3.9.0.dist-info/licenses/license.txt,sha256=_0O6fWM00-wTurDjnZhUP_N5QiwGhItaQZqHq5eqadA,1063
|
85
85
|
atk_package/__init__.py,sha256=okIFEefQhQrw6DZg6oCEVWsEdkVCk-57VXBW0IUG_wU,834
|
86
86
|
atk_package/datetime_utils.py,sha256=qsVF7l90P1-xukG2tV_jLqG9J_Yfl5wTpyfrdPBlyMo,239
|
87
87
|
atk_package/env_utils.py,sha256=bXOrxM3fZUslqfmZt75iphbEJHbG4riJa8XOVzPwIII,313
|
@@ -94,7 +94,7 @@ atk_package/enums/__init__.py,sha256=EtUr_--MQj1Rc_R0sF_ELXIThmhpfmhDWq3YaK9oQMk
|
|
94
94
|
atk_package/enums/command_status_enum.py,sha256=M2Nln27a_DbzI07-gfytWQk2X087JhkU6Fmard5qVHs,127
|
95
95
|
atk_package/enums/speed_control_status_enum.py,sha256=qpURh0K1L1tSpbrzVnckoe4hUn1illIkbo7k4mLfzIM,182
|
96
96
|
shared_python_atk_enforcement/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
97
|
-
atk_common-3.
|
98
|
-
atk_common-3.
|
99
|
-
atk_common-3.
|
100
|
-
atk_common-3.
|
97
|
+
atk_common-3.9.0.dist-info/METADATA,sha256=pf2yB93b5HPu_-_TZotmjgXw-D90X_gWTbAE3O98vmE,1760
|
98
|
+
atk_common-3.9.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
99
|
+
atk_common-3.9.0.dist-info/top_level.txt,sha256=4CwRjkLnheIdI4jQwc4tK3dbRc58WqUmoqjkdDTWlME,41
|
100
|
+
atk_common-3.9.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|