Skip to content

Commit

Permalink
handle MissingFormXml
Browse files Browse the repository at this point in the history
  • Loading branch information
snopoke committed Aug 28, 2024
1 parent fb0cd64 commit bcd541c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion corehq/form_processor/models/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,10 @@ def name(self):

@property
def device_id(self):
return self.metadata and self.metadata.deviceID
try:
return self.metadata and self.metadata.deviceID
except MissingFormXml:
pass

@memoized
def get_sync_token(self):
Expand Down

0 comments on commit bcd541c

Please sign in to comment.