mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-06 18:00:57 +00:00
fix: To resolve the 500 error during local updates after an account is deleted from Vault
This commit is contained in:
8
apps/accounts/exceptions.py
Normal file
8
apps/accounts/exceptions.py
Normal 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.'
|
||||
)
|
Reference in New Issue
Block a user