Skip to content

Commit

Permalink
reports: update decode error message
Browse files Browse the repository at this point in the history
  • Loading branch information
malmeloo committed Jul 11, 2024
1 parent 7d5c7bd commit b631d0b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions findmy/reports/reports.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,10 +279,9 @@ async def _fetch_reports(
loc_report = LocationReport.from_payload(key, date_published, description, payload)
except ValueError as e:
logging.warning(
"Location report was not decodable. Some payloads have unknown"
" variations leading to this error. Please report this full message"
" at https://github.com/malmeloo/FindMy.py/issues/27. "
"Payload length: %d Payload: %s, Original error: %s",
"Location report was not decodable. Please report this full message"
" at https://github.com/malmeloo/FindMy.py/issues/. This report does not"
" reveal your location. Payload length: %d Payload: %s, Original error: %s",
len(payload),
payload.hex(),
e,
Expand Down

0 comments on commit b631d0b

Please sign in to comment.