Skip to content

Commit

Permalink
Better error
Browse files Browse the repository at this point in the history
  • Loading branch information
aaltat committed Mar 16, 2024
1 parent dbc5d7a commit 6fa0a9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/robotlibcore.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def _translation(translation: Optional[Path] = None):
try:
return json.load(file)
except json.decoder.JSONDecodeError:
logger.warn(f"Could not find file: {translation}")
logger.warn(f"Could not convert json file {translation} to dictionary.")
return {}
else:
return {}
Expand Down

0 comments on commit 6fa0a9a

Please sign in to comment.