Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(stop-support-session): prevent action failure
If support sessions have never been started, the stop-support-session action fails with the following error: Traceback (most recent call last): File "/var/lib/nethserver/node/actions/stop-support-session/51publish_event", line 13, in <module> session_id = agent.read_envfile("support.env").get("VPN_PASSWORD") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/agent/pypkg/agent/__init__.py", line 90, in read_envfile fo = open(file_path, 'r') ^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: 'support.env'
- Loading branch information