Skip to content

Commit

Permalink
fix: cr
Browse files Browse the repository at this point in the history
  • Loading branch information
nannan00 committed Nov 25, 2023
1 parent a05db8a commit 6eae8b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bk-user/bkuser/apis/web/global_setting/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ def validate_value(self, value):
except PDValidationError as e:
raise ValidationError(_("配置信息值不合法,{}").format(stringify_pydantic_error(e)))
except ValueError as e:
raise ValidationError(e)
raise ValidationError(str(e))

0 comments on commit 6eae8b7

Please sign in to comment.