Skip to content

fix: request render error not display - [INS-4833]#8277

Merged
CurryYangxx merged 1 commit into
developfrom
fix/render-error
Feb 12, 2025
Merged

fix: request render error not display - [INS-4833]#8277
CurryYangxx merged 1 commit into
developfrom
fix/render-error

Conversation

@CurryYangxx

@CurryYangxx CurryYangxx commented Jan 7, 2025

Copy link
Copy Markdown
Member

In #8068, we removed the request error modal because some of the errors are also displayed in the preview panel.
But we ignored the request render error, so we restored the modal box and used it to display rendering errors.

@CurryYangxx CurryYangxx changed the title fix: request render error not display fix: request render error not display - [INS-4833] Jan 7, 2025
@CurryYangxx CurryYangxx requested review from cwangsmv and ihexxa January 7, 2025 06:41

@cwangsmv cwangsmv left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tried the changes and LGTM.

@filfreire

filfreire commented Jan 8, 2025

Copy link
Copy Markdown
Contributor

Tested locally, LGTM

image

url.searchParams.set('envVariableMissing', '1');
url.searchParams.set('undefinedEnvironmentVariables', e?.extraInfo?.undefinedEnvironmentVariables);
}
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🇮🇹 🍝

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could this logic be cleaned up? Or expressed more simply.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Currently passing the error message through the URL parameter is not a good way. We could keep the status quo first. I plan to find a new way to replace this

@CurryYangxx CurryYangxx enabled auto-merge (squash) February 12, 2025 03:22
@CurryYangxx CurryYangxx merged commit 700f2b0 into develop Feb 12, 2025
@CurryYangxx CurryYangxx deleted the fix/render-error branch February 12, 2025 03:34
pavkout pushed a commit to pavkout/insomnia that referenced this pull request Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants