fix: add diagnostic payload logging in create_user error path
Consistent with update_user — log full payload before re-raising non-A039 errors to aid debugging.
This commit is contained in:
Vendored
+1
@@ -483,6 +483,7 @@ class RemnaWaveAPI:
|
||||
)
|
||||
response = await self._make_request('POST', '/api/users', data)
|
||||
else:
|
||||
logger.error('POST /api/users FAILED — full payload', payload=data)
|
||||
raise
|
||||
user = self._parse_user(response['response'])
|
||||
logger.info(
|
||||
|
||||
Reference in New Issue
Block a user