Skip to content

Commit

Permalink
Give exception a name
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-ueding committed Dec 23, 2023
1 parent c4eaa7e commit 85e7a1d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions docs/reference/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ This is the pre-release series. Things haven't settled yet, so each minor versio

### Version 0.16

#### Version 0.16.4

- Fix syntax error.

#### Version 0.16.3

- Ignore Strava activities without a time series.
Expand Down
2 changes: 1 addition & 1 deletion geo_activity_playground/importers/strava_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def try_import_strava() -> None:
else:
try:
time_series = download_strava_time_series(activity.id, client)
except ObjectNotFound:
except ObjectNotFound as e:
logger.error(
f"The activity {activity.id} with name “{activity.name}” cannot be found. Perhaps it is a manual activity without a time series. Ignoring. {e=}"
)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "geo-activity-playground"
version = "0.16.3"
version = "0.16.4"
description = "Analysis of geo data activities like rides, runs or hikes."
authors = ["Martin Ueding <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit 85e7a1d

Please sign in to comment.