appgate/sdp-operator

Logging errors is broken :O

Closed this issue · 0 comments

Call stack:
  File "/usr/local/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/root/appgate/__main__.py", line 173, in <module>
    main()
  File "/root/appgate/__main__.py", line 151, in main
    main_run(OperatorArguments(
  File "/root/appgate/__main__.py", line 43, in main_run
    asyncio.run(run_k8s(args))
  File "/usr/local/lib/python3.9/asyncio/runners.py", line 43, in run
    return loop.run_until_complete(main)
  File "/usr/local/lib/python3.9/asyncio/base_events.py", line 629, in run_until_complete
    self.run_forever()
  File "/usr/local/lib/python3.9/asyncio/base_events.py", line 596, in run_forever
    self._run_once()
  File "/usr/local/lib/python3.9/asyncio/base_events.py", line 1890, in _run_once
    handle._run()
  File "/usr/local/lib/python3.9/asyncio/events.py", line 80, in _run
    self._context.run(self._callback, *self._args)
  File "/root/appgate/appgate.py", line 315, in main_loop
    log.error('[appgate-operator/%s] Error %s:', e)
Message: '[appgate-operator/%s] Error %s:'
Arguments: ('8c9adc05-8207-47eb-b76b-c5cfd6564077',)