Commit 719e09b9 authored by Mickaël Desfrênes's avatar Mickaël Desfrênes
Browse files

log hook errors

parent 50828d67
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@ import tarfile
import zipfile
from time import sleep

version = "0.0.38"
version = "0.0.40"

try:
    from uuid import uuid4
+8 −1
Original line number Diff line number Diff line
@@ -13,6 +13,9 @@ from inspect import getmembers, isfunction, isclass, signature
import sys
from pythonjsonlogger import jsonlogger
import datetime
import logging

circe_logger = logging.getLogger(__name__)


def _stamp():
@@ -156,5 +159,9 @@ def do_transformations(uuid: uuid4, job_archive_path: str):
                            timeout=1,
                        )
                    except (ConnectionError, HTTPError):
                        pass  # tant pis pour toi
                        circe_logger.warning(
                            "Could not reach client hook: {}".format(
                                job_description.get("notify_hook")
                            )
                        )
            remove(job_archive_path)
+1 −1
Original line number Diff line number Diff line
[tool.poetry]
name = "circe-CERTIC"
readme = "README.md"
version = "0.0.39"
version = "0.0.40"
description = "Circe Server"
authors = ["Mickaël Desfrênes <mickael.desfrenes@unicaen.fr>"]
license = "CeCILL-B"