Browse Source

Bug in exceptionhandler

https
jakobsn 5 years ago
parent
commit
2ef59fd840
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/app/models/project.py

+ 1
- 1
src/app/models/project.py View File

@@ -277,7 +277,7 @@ def update_task_status(taskid, status):
try: try:
cursor.execute(query) cursor.execute(query)
db.commit() db.commit()
except:
except mysql.connector.Error as err:
print("Failed executing query: {}".format(err)) print("Failed executing query: {}".format(err))
cursor.fetchall() cursor.fetchall()
exit(1) exit(1)


Loading…
Cancel
Save