Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Phonegap app error handling, submit log to server

Tags:

cordova

I am developing a Phonegap app, so I am thinking is there a good way to submit app crash report (mainly console.logs of javascript) to the server somehow or do I have to do it manually and log it to a text file and submit?

like image 316
user2412555 Avatar asked Sep 12 '13 22:09

user2412555


2 Answers

You can use an error tracking service that tracks JavaScript errors to get information on your errors. Bugsnag is a good choice. The Bugsnag JS notifier should work well with Cordova/Phonegap.

like image 52
martin308 Avatar answered Nov 15 '22 11:11

martin308


Another service that captures JavaScript errors is Atatus. It also works with Cordova/PhoneGap.

https://www.atatus.com/

You can check out the docs at https://www.atatus.com/docs

like image 40
Sundar Avatar answered Nov 15 '22 11:11

Sundar