From ada9d408ac66bc8775d0a2c72568c43666946b1a Mon Sep 17 00:00:00 2001 From: -LAN- Date: Mon, 30 Sep 2024 12:48:58 +0800 Subject: [PATCH] refactor(api/variables): VariableError as a ValueError. (#8554) --- api/core/app/segments/exc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/core/app/segments/exc.py b/api/core/app/segments/exc.py index d15d6d500f..5cf67c3bac 100644 --- a/api/core/app/segments/exc.py +++ b/api/core/app/segments/exc.py @@ -1,2 +1,2 @@ -class VariableError(Exception): +class VariableError(ValueError): pass