Skip to content

Commit d419934

Browse files
committed
Better error
1 parent 68eb985 commit d419934

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/robotlibcore.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def _translation(translation: Optional[Path] = None):
5151
try:
5252
return json.load(file)
5353
except json.decoder.JSONDecodeError:
54-
logger.warn(f"Could not find file: {translation}")
54+
logger.warn(f"Could not convert json file {translation} to dictionary.")
5555
return {}
5656
else:
5757
return {}

0 commit comments

Comments
 (0)