This is a simple function to add to your js error handling. It will open a new browser window to stack overflow and search for your error. place the function inside a catch block and pass your error as an argument.
Bobinstein/ErrorHandler
Simple function to aid with debugging. When given an error it will open a new window and search stack overflow for the error.
JavaScript