Danee

322
reputation
1
4

All time solution for true #Javascript exception handler

try {

//something

} 

catch(e) {

   window.location.href = "https://stackoverflow.com/search?q=[js] + e.message;"

}
  • By Jordan Hall