[Bug] [api,worker] The installation service fails to start for the first time, and there is no running record
Search before asking
- [X] I had searched in the issues and found no similar issues.
What happened
When a service is installed or started for the first time, no service role running record is displayed when an error occurs during service installation or start
服务首次安装和启动时,当服务安装或启动报错,无服务角色运行记录
What you expected to happen
无论启动成功与否,都需要显示服务的运行角色记录。
有角色记录,才能查看启动日志等
How to reproduce
一直复现
Anything else
无
Version
dev
Are you willing to submit PR?
- [X] Yes I am willing to submit a PR!
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
Search before asking
- [X] I had searched in the issues and found no similar issues.
What happened
When a service is installed or started for the first time, no service role running record is displayed when an error occurs during service installation or start
When the service is installed and started for the first time, an error is reported when the service is installed or started, and there is no service role running record
What you expected to happen
Regardless of whether the startup is successful or not, the running role record of the service needs to be displayed.
Only with role records can you view startup logs, etc.
How to reproduce
keep recurring
Anything else
none
Version
dev
Are you willing to submit PR?
- [X] Yes I am willing to submit a PR!
Code of Conduct
- [X] I agree to follow this project's Code of Conduct