Skip to content

Commit dac15bc

Browse files
committed
raise customError when project creation fails
1 parent 1e26d70 commit dac15bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mapswipe_workers/mapswipe_workers/base/base_project.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def save_project(self, fb_db):
155155
f' to postgres and will therefor not be '
156156
f' saved to firebase'
157157
)
158-
raise CustomError
158+
raise CustomError(e)
159159

160160
def save_to_firebase(self, fb_db, project, groups, groupsOfTasks):
161161

0 commit comments

Comments
 (0)