Skip to content

Commit 6cab63e

Browse files
Khauneesh-AIKeivan Vosoughi
authored andcommitted
raise erroor for in correct db update for s3 upload
1 parent e87fa0c commit 6cab63e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ Khauneesh/
5757
# DB
5858
*metadata.db-shm
5959
*metadata.db-wal
60+
telemetry.db
6061

6162
# Test and coverage reports
6263
.coverage

app/core/database.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1144,5 +1144,5 @@ def update_s3_path(self, file_name: str, s3_path: str):
11441144
print(f"S3 path update successful for file: {file_name}")
11451145
except Exception as e:
11461146
print(f"Error updating S3 export path: {str(e)}")
1147-
raise
1147+
raise (f"Error updating S3 export path: {str(e)}")
11481148

0 commit comments

Comments
 (0)