mirror of
https://github.com/frappe/bench.git
synced 2025-01-10 09:02:10 +00:00
fix: Show better user messages when failed to update supervisord
This commit is contained in:
parent
e57b37f52b
commit
d89f19e02e
@ -109,7 +109,9 @@ def update_supervisord_config(user=None, yes=False):
|
||||
supervisord_conf_changes += '\n' + action
|
||||
|
||||
if not supervisord_conf_changes:
|
||||
logger.log("supervisord.conf not updated")
|
||||
logger.error("supervisord.conf not updated")
|
||||
contents = "\n".join(f"{x}={y}" for x, y in updated_values.items())
|
||||
print(f"Update your {supervisord_conf} with the following values:\n[{section}]\n{contents}")
|
||||
return
|
||||
|
||||
if not yes:
|
||||
|
Loading…
Reference in New Issue
Block a user