I want to log/write all javascript errors to one text file when ever an error happens in my JavaScript functions. using try catch block, i am catching exception. i need to log this exception to txt file. how can i achive this one sencha touch2


How can I do that. Please help me.