Incorrect error details
when the LoadSketchRequest
fails with NOT_FOUND
error
#1797
Closed
3 tasks done
Labels
conclusion: resolved
Issue was resolved
criticality: medium
Of moderate impact
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
Describe the problem
If I have such a gRPC
LoadSketchRequest
:And the folder is missing from the file system:
Then the request correctly fails with a
NOT_FOUND
status code but the errordetails
is incorrect:The error message should be about
Arduino/alma/alma.ino
and notArduino/Arduino.ino
. Thedirectories.user
location exists on my disk:To reproduce
Expected behavior
It should complain about
~/Documents/Arduino/alma
and not~/Documents/Arduino/
Arduino CLI version
0.24.0
Operating system
macOS
Operating system version
12.3.1
Additional context
No response
Issue checklist
The text was updated successfully, but these errors were encountered: