build/openfpgaloader: report command line on error

Helps explain failures
This commit is contained in:
Andrew Dennison 2024-01-29 16:19:44 +11:00
parent f73fbee309
commit 4dae3a9f4d
1 changed files with 5 additions and 1 deletions

View File

@ -71,4 +71,8 @@ class OpenFPGALoader(GenericProgrammer):
cmd.append(str(value))
# Execute Command.
try:
self.call(cmd)
except OSError as e:
print(' '.join(cmd))
raise