-
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit f07445f
Print error message on certificate flash failure (#215)
Previously, if there was a problem during the flashing stage of the certificate flash command invocation, Arduino
Firmware Uploader would exit silently, giving the user no feedback that something had gone wrong other than a generic
exit status 1:
```
$ touch /tmp/cert-with-unsupported-extension.crt # Create dummy certificate file. Valid certificate is not required for this demo.
$ arduino-fwuploader certificates flash --address COM42 --file /tmp/cert-with-unsupported-extension.crt --fqbn arduino:renesas_uno:unor4wifi
Converting and flashing certificate C:/Users/per/AppData/Local/Temp/cert-with-unsupported-extension.crt
$ echo $?
1
```1 parent 45b115d commit f07445f
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | - | ||
88 | + | ||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| |||
0 commit comments