The developed frontend custom App is working fine in customer’s sandbox. It behaves inconsistently when it is moved to customer’s production environment.
Using installed front end App , I tried to update the tickets. Sometimes the App is initiated, works fine and also shows all the logs which are I embedded in my code. Sometimes the App is not initiated and also not able to get any logs too.
@Priya_Dharshini
Hi, Is you app contains middleware too?if Yes it may due to failure of API response, If not try to remove commented code or it may shows you in console what is going on so u may share it here.
@Priya_Dharshini Please also check if app is failing at initialization, or some other calls. For that, print your every error in the catch block.
Else please share your piece of code here so we can further help you out.
So, your logs added to the code are being executed when Freshservice page loads. It is not ‘sometimes’ but it is very certain that INSIDE domain will be logged to console when page loads for the first time.