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
send_slack_message(environment, f"Successfully created and uploaded DB dump ({round(file_size, 2)} KB).")
172
+
send_slack_message(environment, f"Successfully created and uploaded DB dump ({sizeof_fmt(file_size)}).")
164
173
exceptExceptionase:
165
174
logger.exception(e)
166
-
send_slack_message(environment, f"Failed to upload DB dump ({round(file_size, 2)} KB) to AWS Glacier. Please check the error in the container logs.", False)
175
+
send_slack_message(environment, f"Failed to upload DB dump ({sizeof_fmt(file_size)}) to AWS Glacier. Please check the error in the container logs.", False)
167
176
else:
168
177
logger.error(f'Database of type {database_type} is not supported. If you see this message something went horribly wrong.')
0 commit comments