fix: To resolve the 500 error during local updates after an account is deleted from Vault

This commit is contained in:
jiangweidong
2024-12-03 14:11:05 +08:00
committed by Bryan
parent 09accbd922
commit 0ca81a8f30
12 changed files with 600 additions and 542 deletions

View File

@@ -0,0 +1,8 @@
from common.exceptions import JMSException
from django.utils.translation import gettext_lazy as _
class VaultException(JMSException):
default_detail = _(
'Vault operation failed. Please retry or check your account information on Vault.'
)