asyncapi-react
asyncapi-react copied to clipboard
fix: handled the document object being undefined in the parser result.
Description
Changes proposed in this pull request:
- Handled the document object being undefined.
- In the changes proposed the code section throws an error when the document object is undefined.
Related issue(s)
Fixes: #874
This is how the erros currently look, if the method is approved , proper css and formating can be added to the errror messages.
Hey @magicmatatjahu or @derberg I was enhancing the error message but am unable to apply any css to the above text that is being rendered
Also I would like to know if this is an upstream error or we should handle it here itself and make changes as per the latest state of the parser output
Quality Gate passed
Issues
0 New issues
Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code
can you update PR with latest master, and resolve conflicts please 🙏🏼
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
can you update PR with latest master, and resolve conflicts please 🙏🏼
cc @ashmit-coder
no response in 2 weeks.
closing the PR. @ashmit-coder feel free to open a new PR with resolved conflicts. I'm just closing it for cleanup purposes to not have open and not active PR open forever
no response in 2 weeks.
closing the PR. @ashmit-coder feel free to open a new PR with resolved conflicts. I'm just closing it for cleanup purposes to not have open and not active PR open forever
Hey sorry @derberg I was busy with other stuff. I will try to create a new PR during the GSOC period itself.