Skip to content

Commit

Permalink
add: more info for loading gpx wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
yihong0618 committed Jan 27, 2021
1 parent f1229c0 commit 79146bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/gpxtrackposter/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class PosterError(Exception):


class TrackLoadError(PosterError):
"Something went wrong when loading a track file"
"Something went wrong when loading a track file, we just ignore this file and continue"
pass


Expand Down
2 changes: 1 addition & 1 deletion scripts/gpxtrackposter/track.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def load_gpx(self, file_name):
self._load_gpx_data(mod_gpxpy.parse(file))
except:
print(
f"Something went wrong when loading GPX. for file {self.file_names[0]}"
f"Something went wrong when loading GPX. for file {self.file_names[0]}, we just ignore this file and continue"
)
pass

Expand Down

0 comments on commit 79146bf

Please sign in to comment.