[gRPC]: Error object contains insufficient info when upload fails due to the busy serial port #1767
Closed
3 tasks done
Labels
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
Describe the problem
If the upload failed due to the busy serial port, I would love to see that on the error object. Currently, the
ServiceError
object contains the following info:During the upload, the
UploadResponse
'sout_stream
contains......
and theerr_stream
is empty.However, I can see the following messages logged by the CLI daemon process:
The CLI knows what went wrong, but with the current errors, it's impossible to show the real cause to the users.
To reproduce
Expected behavior
The error object contains what is logged by the daemon process.
Arduino CLI version
arduino-cli Version: 0.23.0 Commit: 899dc91 Date: 2022-06-06T14:23:44Z
Operating system
macOS
Operating system version
12.3.1
Additional context
Maybe related: #1762
Issue checklist
The text was updated successfully, but these errors were encountered: