Skip to content

Commit

Permalink
Slighlty improve the error message
Browse files Browse the repository at this point in the history
  • Loading branch information
haiqi96 committed Dec 18, 2024
1 parent 6f907b2 commit 120ffec
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,8 @@ def run_clp(
enable_s3_write = False
storage_type = worker_config.archive_output.storage.type
if StorageType.S3 == storage_type:
if StorageEngine.CLP == clp_storage_engine:
error_msg = f"S3 storage is not supported for the {clp_storage_engine} storage engine."
if StorageEngine.CLP_S != clp_storage_engine:
error_msg = f"S3 storage is not supported for storage engine: {clp_storage_engine}."
logger.error(error_msg)
return False, {"error_message": error_msg}

Expand Down

0 comments on commit 120ffec

Please sign in to comment.