AnWeber / vscode-httpyac

Quickly and easily send REST, Soap, GraphQL, GRPC, MQTT and WebSocket requests directly within Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=anweber.vscode-httpyac
MIT License
222 stars 20 forks source link

ERROR: Error readFile .../package.json message in the log for every file and folder #293

Closed alekdavisintel closed 1 month ago

alekdavisintel commented 1 month ago

When I run tests for folders, for every folder and file in the project folder, I get a error message in the httpyac - Log complaining about the package.json file, e.g.:

ERROR: Error readFile file:///c%3A/PROJECTS/TEST_POC/Tests/Roles/roles-GET.http/package.json
ERROR: Error readFile file:///c%3A/PROJECTS/TEST_POC/Tests/Roles/package.json
ERROR: Error readFile file:///c%3A/PROJECTS/TEST_POC/Tests/package.json
ERROR: Error readFile file:///c%3A/PROJECTS/TEST_POC/package.json
...

Assuming these are not critical, is there a way to supress them? Or are these actually errors that need to be fixed?

AnWeber commented 1 month ago

No is not an error in the true sense of the word. You can also store the httpyac settings in the package.json (similar to other NodeJS tools). For this reason, my tool searches for the first package.json when loading and tries to load the settings from there, if they are available. Apparently, when refactoring, the debug output became a console.error at some point.

alekdavisintel commented 1 month ago

Just wanted to mention that I am extatic about using httpYac. Have been using it for the past week, and it was awesome. Just have one issue trying to figure how to conditionally disable/enable request (posted an issue, so hope I can figure this out), but everything else is just awesome. Thank you so much. Have been looking for Postman replacement for over a year and I'm 90% confident, httpYac will be our new platform. In fact, I already like it better than Postman. Did a demo for a team and everyone liked it. Thanks, thanks, thanks.

AnWeber commented 1 month ago

Yes, I have already seen the ticket. I'll comment on it later. I had to take some time off this week. My mental load at work was already too high for me to do much in my private time.

AnWeber commented 1 month ago

oh and thank you. I'm glad you like it