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
5c6ff84694
commit
83f27322cd
5
services/managers/mumble_manager.py
Normal file → Executable file
5
services/managers/mumble_manager.py
Normal file → Executable file
@ -1,5 +1,6 @@
|
|||||||
import os
|
import os
|
||||||
import hashlib
|
import hashlib
|
||||||
|
import sys
|
||||||
|
|
||||||
from django.db import connections
|
from django.db import connections
|
||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
@ -134,7 +135,7 @@ class MumbleManager:
|
|||||||
|
|
||||||
return username_clean, password
|
return username_clean, password
|
||||||
except:
|
except:
|
||||||
|
print "Unexpected error:", sys.exc_info()[0]
|
||||||
return "", ""
|
return "", ""
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
@ -154,7 +155,7 @@ class MumbleManager:
|
|||||||
|
|
||||||
return username_clean, password
|
return username_clean, password
|
||||||
except:
|
except:
|
||||||
|
print "Unexpected error:", sys.exc_info()[0]
|
||||||
return "", ""
|
return "", ""
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
Loading…
x
Reference in New Issue
Block a user