usebruno / bruno

Opensource IDE For Exploring and Testing Api's (lightweight alternative to postman/insomnia)
https://www.usebruno.com/
MIT License
21.54k stars 1.01k forks source link

add location to error messages #2467

Open tho-gru-38 opened 1 week ago

tho-gru-38 commented 1 week ago

I have checked the following:

Describe the feature you want to add

While working on a huge collection imported from Postman I often see messages like: image

It is very time consuming to identify the location of the error.

Despite while creating new requests in Bruno where I can iterate with running a request during the development process after importing a huge request ist is very hard to find the location in the scripts.

In the below mocks I enhanced the location for two different use cases:

  1. An error in a simple request
  2. An error in a file loaded by require()

Mockups or Images of the feature

image