unitysvc-services 0.1.9__py3-none-any.whl → 0.1.11__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.

Potentially problematic release.


This version of unitysvc-services might be problematic. Click here for more details.

unitysvc_services/api.py CHANGED
@@ -88,7 +88,7 @@ class UnitySvcAPI:
88
88
  stdout, stderr = await asyncio.wait_for(proc.communicate(), timeout=30.0)
89
89
 
90
90
  if proc.returncode != 0:
91
- error_msg = stderr.decode().strip() if stderr else "Curl command failed"
91
+ error_msg = stderr.decode().strip() if stderr else "curl command failed"
92
92
  raise RuntimeError(f"Curl error: {error_msg}")
93
93
 
94
94
  # Parse response: last line is status code, rest is body
@@ -165,7 +165,7 @@ class UnitySvcAPI:
165
165
  stdout, stderr = await asyncio.wait_for(proc.communicate(), timeout=30.0)
166
166
 
167
167
  if proc.returncode != 0:
168
- error_msg = stderr.decode().strip() if stderr else "Curl command failed"
168
+ error_msg = stderr.decode().strip() if stderr else "curl command failed"
169
169
  raise RuntimeError(f"Curl error: {error_msg}")
170
170
 
171
171
  # Parse response: last line is status code, rest is body