-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: request render error not display - [INS-4833] #8277
base: develop
Are you sure you want to change the base?
Conversation
a4e8452
to
04bb14b
Compare
There was a problem hiding this comment.
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.
if (e?.extraInfo && e?.extraInfo?.subType === RenderErrorSubType.EnvironmentVariable) { | ||
url.searchParams.set('envVariableMissing', '1'); | ||
url.searchParams.set('undefinedEnvironmentVariables', e?.extraInfo?.undefinedEnvironmentVariables); | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🇮🇹 🍝
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
04bb14b
to
4e85cab
Compare
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.