You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
self.local.add_log(f"Error while sending welcome message: {e}", "error")
377
-
self.local.add_log(f"If you want the bot to write to a multi-person chat group, make sure the bot is added to that chat group. If it is not - do it and run the command `setup_alert_bot <bot_token> <chat_id>` again.", "info")
377
+
self.local.add_log("If you want the bot to write to a multi-person chat group, make sure the bot is added to that chat group. If it is not - do it and run the command `setup_alert_bot <bot_token> <chat_id>` again.", "info")
f'This action will overwrite existing configuration with contents of backup archive, please make sure that donor node is not in operation prior to this action. Proceed [y/n]')
71
+
'This action will overwrite existing configuration with contents of backup archive, please make sure that donor node is not in operation prior to this action. Proceed [y/n]')
73
72
ifres.lower() !='y':
74
73
print('aborted.')
75
74
return
@@ -81,8 +80,8 @@ def restore_backup(self, args):
81
80
print('Before proceeding, mtc will create a backup of current configuration.')
82
81
try:
83
82
self.create_backup([])
84
-
except:
85
-
color_print("{red}Could not create backup{endc}")
83
+
exceptExceptionase:
84
+
color_print(f"{{red}}Could not create backup: {e}{{endc}}")
0 commit comments