Divide by zero for an uncaught error

This commit is contained in:
Ramon Wenger 2019-02-13 13:56:43 +01:00
parent 627a012efe
commit 2e38a03bfa
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ class RoomNode(DjangoObjectType):
def resolve_entry_count(self, *args, **kwargs):
logger.error('what what')
# return 1/0
return 1/0
return self.room_entries.count()