mirror of
https://github.com/FAUSheppy/atlantis-event-dispatcher
synced 2026-04-26 15:32:28 +02:00
feat: minimal logging for debugging server & fix import
All checks were successful
ci / docker (push) Successful in 1m13s
All checks were successful
ci / docker (push) Successful in 1m13s
This commit is contained in:
@@ -352,7 +352,6 @@ def smart_send_to_clients(path=None):
|
||||
if not dispatch_acces_token:
|
||||
dispatch_acces_token = flask.request.headers.get("Dispatcher-Token") or ""
|
||||
|
||||
print(path)
|
||||
if path:
|
||||
webhook_path = db.session.query(WebHookPaths).filter(WebHookPaths.path==path).first()
|
||||
if webhook_path:
|
||||
@@ -387,6 +386,8 @@ def smart_send_to_clients(path=None):
|
||||
|
||||
def save_in_dispatch_queue(persons, title, message, method, link=""):
|
||||
|
||||
now_str = str(datetime.datetime.now())
|
||||
print(f"Scheduling message to {abs(hash(str(persons)))} @ {now_str}", file=sys.stderr)
|
||||
|
||||
dispatch_secrets = []
|
||||
for p in persons:
|
||||
|
||||
Reference in New Issue
Block a user