mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-13 22:40:16 +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 hashlib
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
import django
|
||||||
|
|
||||||
from django.db import connections
|
from django.db import connections
|
||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
|
|
||||||
@ -134,6 +136,8 @@ class MumbleManager:
|
|||||||
[settings.MUMBLE_SERVER_ID, user_id, username_clean, pwhash])
|
[settings.MUMBLE_SERVER_ID, user_id, username_clean, pwhash])
|
||||||
|
|
||||||
return username_clean, password
|
return username_clean, password
|
||||||
|
except django.db.utils.IntegrityError as error:
|
||||||
|
print error
|
||||||
except:
|
except:
|
||||||
print "Unexpected error:", sys.exc_info()[0]
|
print "Unexpected error:", sys.exc_info()[0]
|
||||||
return "", ""
|
return "", ""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user