diff --git a/misc/update_1.1_to_1.2.sql b/misc/update_1.1_to_1.2.sql index 421281e..2e2afef 100644 --- a/misc/update_1.1_to_1.2.sql +++ b/misc/update_1.1_to_1.2.sql @@ -42,7 +42,7 @@ ALTER TABLE `bremen_calling_devel`.`user` ADD COLUMN `notify_email` BIT NULL DEFAULT NULL AFTER `api_key`, ADD COLUMN `notify_whatsapp` BIT NULL DEFAULT NULL AFTER `notify_email`, ADD COLUMN `notify_signal` BIT NULL DEFAULT NULL AFTER `notify_whatsapp`, -ADD COLUMN `notifiy_popup` BIT NULL DEFAULT NULL AFTER `notify_signal`, +ADD COLUMN `notify_popup` BIT NULL DEFAULT NULL AFTER `notify_signal`, CHANGE COLUMN `participant_id` `participant_id` INT UNSIGNED NOT NULL ; ALTER TABLE `bremen_calling_devel`.`user` ADD CONSTRAINT `FK_USER_PART` diff --git a/src/server/BreCal/impl/times.py b/src/server/BreCal/impl/times.py index 1ef0d37..31bfd26 100644 --- a/src/server/BreCal/impl/times.py +++ b/src/server/BreCal/impl/times.py @@ -1,5 +1,6 @@ import json import logging +import traceback import pydapper from ..schemas import model @@ -26,6 +27,7 @@ def GetTimes(options): pooledConnection.close() except Exception as ex: + logging.error(traceback.format_exc()) logging.error(ex) print(ex) result = {} @@ -93,6 +95,7 @@ def PostTimes(schemaModel): return json.dumps({"id" : new_id}), 201, {'Content-Type': 'application/json; charset=utf-8'} except Exception as ex: + logging.error(traceback.format_exc()) logging.error(ex) print(ex) result = {} @@ -148,6 +151,7 @@ def PutTimes(schemaModel): return json.dumps({"id" : schemaModel["id"]}), 200, {'Content-Type': 'application/json; charset=utf-8'} except Exception as ex: + logging.error(traceback.format_exc()) logging.error(ex) print(ex) result = {}