From 952628149ec572267670d8543c184024a3360d4c Mon Sep 17 00:00:00 2001 From: Peter Boers Date: Mon, 3 Jul 2023 11:46:06 +0200 Subject: [PATCH] Fix deprecation warning --- orchestrator/utils/errors.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/orchestrator/utils/errors.py b/orchestrator/utils/errors.py index 32f8c4fa0..769802aa4 100644 --- a/orchestrator/utils/errors.py +++ b/orchestrator/utils/errors.py @@ -74,9 +74,9 @@ def __init__(self, message: str, details: JSON = None) -> None: @deprecated( - "Renamed the error 'ProcessFailureError', `from orchestrator.errors import ProcessFailureError` removing in version 1.3.0" + "Renamed the error 'ProcessFailure', `from orchestrator.errors import ProcessFailureError` removing in version 1.3.0" ) -class ProcessFailureException(ProcessFailureError): # noqa: N818 +class ProcessFailure(ProcessFailureError): # noqa: N818 pass