1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-11-28 12:30:00 +00:00

Fixed missing variable exception

This commit is contained in:
Ozzieisaacs 2020-12-04 14:50:34 +01:00
parent 9a8f20317b
commit a82911ea5d

View File

@ -342,7 +342,7 @@ def import_ldap_users():
query_filter = None
try:
user_data = services.ldap.get_object_details(user=user_identifier, query_filter=query_filter)
except AttributeError:
except AttributeError as e:
log.exception(e)
continue
if user_data: