fix(aurora): add a debug logging statement
This commit is contained in:
parent
aae4370868
commit
13874dd4f0
1 changed files with 2 additions and 0 deletions
|
@ -198,6 +198,8 @@ class Moderation(AuroraGuildModel):
|
||||||
moderation_type = str.lower(result[2])
|
moderation_type = str.lower(result[2])
|
||||||
if moderation_type in type_registry:
|
if moderation_type in type_registry:
|
||||||
moderation_type = type_registry[moderation_type]
|
moderation_type = type_registry[moderation_type]
|
||||||
|
else:
|
||||||
|
logger.error("Unknown moderation type in case %s: %s", result[0], result[2])
|
||||||
|
|
||||||
case = {
|
case = {
|
||||||
"moderation_id": int(result[0]),
|
"moderation_id": int(result[0]),
|
||||||
|
|
Loading…
Reference in a new issue