Skip to content

Commit

Permalink
Refactor error message
Browse files Browse the repository at this point in the history
  • Loading branch information
708yamaguchi committed Dec 27, 2024
1 parent cd81510 commit b769807
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rcb4/apps/write_firmware.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ def main():
else:
elf_path = kondoh7_elf('latest')
if not elf_path or not Path(elf_path).is_file():
print("Error: ELF file not found. Please check the path or filename.")
print(f"Error: ELF file not found: {elf_path}")
print("Please check the path or filename.")
sys.exit(5)
print(f"ELF file found: {elf_path}")

Expand Down

0 comments on commit b769807

Please sign in to comment.