This commit is contained in:
A B
2024-10-26 12:22:19 +00:00
parent c4d9254824
commit a1ff998b68
4 changed files with 8 additions and 7 deletions

View File

@ -7,8 +7,8 @@ def shadowsocks(request, link):
acl = get_object_or_404(ACL, link=link)
try:
server_user = acl.server.get_user(acl.user, raw=True)
except:
return JsonResponse({"error": "Couldn't get credentials from server."})
except Exception as e:
return JsonResponse({"error": f"Couldn't get credentials from server. {e}"})
config = {
"info": "Managed by OutFleet_v2 [github.com/house-of-vanity/OutFleet/]",