We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b208cf6 commit f12d707Copy full SHA for f12d707
backup.py
@@ -21,5 +21,7 @@ def backup_db():
21
success = upload_to_bucket(str(FILE_PATH), FILENAME)
22
if not success:
23
logger.error('Uploading the file to AWS S3 failed.')
24
+ return success
25
+
26
logger.info('Backup file uploaded successfully to aws s3')
27
return success
0 commit comments