Error handling? No message in browser console
Error handling? No message in browser console
I am loading a report from a string into the designer in the browser. Everything works perfectly in development on localhost. When I deploy to production the same exact report loads into the designer and the designer shows a window with an unhelpful message "Error!" with nothing in the console. Is there a way to add error handling to capture the error or somehow display more information about an error? Like I said it works perfectly on local so I'm not sure if a sample project would be helpful.
-
- Posts: 6245
- Joined: Tue Mar 20, 2018 5:34 am
Re: Error handling? No message in browser console
Hello,
Please send us your report for analysis.
Also, please try to check the browser console.
Thank you.
Please send us your report for analysis.
Also, please try to check the browser console.
Thank you.
Re: Error handling? No message in browser console
There is no message in browser console. I attached the project. Be aware that it works perfectly on local.
- Attachments
-
- designer-demo.zip
- (357.62 KiB) Downloaded 113 times
-
- Posts: 6245
- Joined: Tue Mar 20, 2018 5:34 am
Re: Error handling? No message in browser console
Hello,
We apologize for the delay, but we need some extra time to investigate the issue thoroughly. We will keep you informed about the result as soon as possible.
Thank you for your patience.
We apologize for the delay, but we need some extra time to investigate the issue thoroughly. We will keep you informed about the result as soon as possible.
Thank you for your patience.
Re: Error handling? No message in browser console
I appreciate your efforts. Thank you.
Re: Error handling? No message in browser console
Any updates? I published the demo to a host for your pleasure. http://stim-report-demo.surge.sh/
-
- Posts: 6245
- Joined: Tue Mar 20, 2018 5:34 am
Re: Error handling? No message in browser console
Hello,
We apologize for the delay, but we couldn't run sent project.
Please check your report on our sample and let us know about the result:
https://github.com/stimulsoft/Samples-J ... ster/React
Thank you.
We apologize for the delay, but we couldn't run sent project.
Please check your report on our sample and let us know about the result:
https://github.com/stimulsoft/Samples-J ... ster/React
Thank you.
Re: Error handling? No message in browser console
Anything in particular you couldn't run? I installed and tested and ran fine on my end before I sent to you. The link you sent shows a bump in version number. Is there anything in the version update that would address my issue? Is there any way to add error handling to the designer?
Re: Error handling? No message in browser console
The updated version of your report library has no effect on the production deployment. Still works perfectly on local. Would be easier to fix if there was a way to add error handling to the designer over the "Error!" message.
-
- Posts: 6245
- Joined: Tue Mar 20, 2018 5:34 am
Re: Error handling? No message in browser console
Hello,
Please try to change the package.json file:
Thank you.
Please try to change the package.json file:
Code: Select all
"browserslist": {
"production": [
"> 1% and not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}