diff --git a/licenseware/history/step.py b/licenseware/history/step.py index a84fe758..6ada3892 100644 --- a/licenseware/history/step.py +++ b/licenseware/history/step.py @@ -3,8 +3,8 @@ import datetime from licenseware import mongodata from licenseware.common.constants import envs, states -# from licenseware.common.serializers import WildSchema from .history_schemas import HistorySchema +from licenseware.utils.logger import log as logg def save_filename_validation(metadata, response): @@ -48,6 +48,10 @@ def copy_files_uploaded_on_event_folder(data): def save_file_content_validation(metadata, response): + if "event_data" not in response: + logg.info("Parameter `event_data` not found on response from `upload_files`") + return + file_content_validation = [] for cv in response["event_data"]: file_content_validation.extend(cv["validation_response"]['validation']) diff --git a/wheel_sdk/licenseware-2.0.2-py3-none-any.whl b/wheel_sdk/licenseware-2.0.2-py3-none-any.whl index a4cc5446..a0d42038 100644 Binary files a/wheel_sdk/licenseware-2.0.2-py3-none-any.whl and b/wheel_sdk/licenseware-2.0.2-py3-none-any.whl differ diff --git a/wheel_sdk/licenseware-2.0.2.tar.gz b/wheel_sdk/licenseware-2.0.2.tar.gz index 44efe295..f9041054 100644 Binary files a/wheel_sdk/licenseware-2.0.2.tar.gz and b/wheel_sdk/licenseware-2.0.2.tar.gz differ