Session ID Time Traveling for Error Handling in JavaScript

In this meeting, the main topic of discussion is error handling in JavaScript. The speaker is facing a problem where errors are occurring before the session ID is available. They discuss a solution which involves storing the session ID in a global context (window) so that it can be accessed later when errors happen. They go through the steps of implementing this solution and clarify the order of events - defining the error handler, attaching the session, and then handling the error. They also discuss options for logging and handling the error information, either by adding it to the URL or redirecting to another page. Overall, the meeting provides insights into how to handle errors in JavaScript and the necessary steps to ensure the availability of required information.

(Source: Office Hours 3/8 )

State Change Members Can View The Video Here

View This Video Now

Join State Change Risk-Free