Divide by zero for an uncaught error
This commit is contained in:
parent
627a012efe
commit
2e38a03bfa
|
|
@ -38,7 +38,7 @@ class RoomNode(DjangoObjectType):
|
||||||
|
|
||||||
def resolve_entry_count(self, *args, **kwargs):
|
def resolve_entry_count(self, *args, **kwargs):
|
||||||
logger.error('what what')
|
logger.error('what what')
|
||||||
# return 1/0
|
return 1/0
|
||||||
return self.room_entries.count()
|
return self.room_entries.count()
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue