diff --git a/json-api/client-tests/config.py b/json-api/client-tests/config.py index bb768c8..5f9c284 100644 --- a/json-api/client-tests/config.py +++ b/json-api/client-tests/config.py @@ -31,12 +31,17 @@ def create_admin() -> Admin : ) try: raw = json.loads(proc.stdout) + e = proc.stderr user = raw.get('user') server = raw.get('server') if user is None or server is None: + print('stderr ', e) + print('stdout ', proc.stdout) return None else: return Admin(user, server) except: + print('stderr ', proc.stderr) + print('stdout ', proc.stdout) return None