added some debug statements for ci w/ burnettk

This commit is contained in:
jasquat 2023-01-25 16:02:07 -05:00
parent ada389b572
commit 1ce3fbe542
1 changed files with 5 additions and 0 deletions

View File

@ -300,6 +300,11 @@ def process_model_file_delete(
"""Process_model_file_delete.""" """Process_model_file_delete."""
process_model_identifier = modified_process_model_identifier.replace(":", "/") process_model_identifier = modified_process_model_identifier.replace(":", "/")
process_model = _get_process_model(process_model_identifier) process_model = _get_process_model(process_model_identifier)
# DEBUG CI: TODO: DELETE
print(f"CURRENT PRIMARY FILE NAME: {process_model.primary_file_nam}")
print(f"FILE TO DELETE: {file_name}")
if process_model.primary_file_name == file_name: if process_model.primary_file_name == file_name:
raise ApiError( raise ApiError(
error_code="process_model_file_cannot_be_deleted", error_code="process_model_file_cannot_be_deleted",