Skip to content

Commit

Permalink
Handles any exception when yaml loading tmap
Browse files Browse the repository at this point in the history
  • Loading branch information
adambinch committed Jun 5, 2020
1 parent c41116a commit 6322427
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -712,7 +712,7 @@ def load_map_from_file(self, filename):
with open(filename, 'r') as f:
try:
tmap = yaml.safe_load(f)
except yaml.YAMLError as exc:
except Exception as exc:
print(exc)
return points

Expand Down

0 comments on commit 6322427

Please sign in to comment.