diff --git a/emgapianns/management/lib/create_or_update_study.py b/emgapianns/management/lib/create_or_update_study.py index 3cbc71e9c..eaf194f4c 100644 --- a/emgapianns/management/lib/create_or_update_study.py +++ b/emgapianns/management/lib/create_or_update_study.py @@ -168,7 +168,7 @@ def _update_or_create_study_from_db_result( hold_date = ena_study.hold_date ena_api_password = EMG_CONF['emg']['ena_api_password'] if ena_api_password is None: - logging.warning("ENA API password is missing. Study ownership cannot be verified.") + logging.error(f"ENA API password is missing. Study {secondary_study_accession} ownership cannot be verified.") try: study_is_public = self.check_if_study_is_public(secondary_study_accession) if study_is_public: