tags:

views:

34

answers:

1

I have some required try/catch statements in my application that in my testing never get called. I have sent them up with:

Log.e("messaage", e.toString());

for my debugging and now that I'm ready to release I am not sure if I should take that out or not. I see in android market you can get error/crash reports and while I do not expect my app to catch any errors, I would like to know if that happens and wondering if I need specific syntax for that. My question is what should I do in the catch statement for these errors? I'm already handling the error from a user standpoint...

Thanks!

A: 

IMHO logging is not really necessary, but sooner or later you will catch something. Acra may be of interest to you, if you want to be notified of these occasions.

Loxley