Skip to content

Commit 196c365

Browse files
authored
style: log missing attrs as INFO.
This was an unanimous decision that was made by both the core and external development teams. For reasons involving how Discord staff view matters of silently releasing new features to the library, we've made the decision to no longer treat these as superficial problems that break the runtime of a client running on the library. Since our library continues to operate normally with a missing attribute or data model, there is no need to log as such.
1 parent c1564f7 commit 196c365

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interactions/api/models/misc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def __init__(self, **kwargs):
4141
# else case if the mixin is used outside of this library and/or SDK.
4242
setattr(self, key, kwargs[key])
4343
else:
44-
log.warning(
44+
log.info(
4545
f"Attribute {key} is missing from the {self.__class__.__name__} data model, skipping."
4646
)
4747
# work on message printout? Effective, but I think it should be a little bit more friendly

0 commit comments

Comments
 (0)