Is it a bad idea to use printStackTrace() for caugt Exceptions?

I believe this is what you need:

catch (Exception e) {
     Log.e(TAG,Log.getStackTraceString(e)); 
}

Leave a Comment