mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-13 14:30:17 +02:00
Added debug info to mumble manager
This commit is contained in:
parent
83f27322cd
commit
8700d52a9d
@ -2,6 +2,8 @@ import os
|
||||
import hashlib
|
||||
import sys
|
||||
|
||||
import django
|
||||
|
||||
from django.db import connections
|
||||
from django.conf import settings
|
||||
|
||||
@ -134,6 +136,8 @@ class MumbleManager:
|
||||
[settings.MUMBLE_SERVER_ID, user_id, username_clean, pwhash])
|
||||
|
||||
return username_clean, password
|
||||
except django.db.utils.IntegrityError as error:
|
||||
print error
|
||||
except:
|
||||
print "Unexpected error:", sys.exc_info()[0]
|
||||
return "", ""
|
||||
|
Loading…
x
Reference in New Issue
Block a user