Closed
Description
Instead of lines like:
Log.e(TAG, "Error copying icu data file" + e.getMessage());
I recommend:
Log.e(TAG, "Error copying icu data file", e);
This has two advantages:
- The entire stack trace for the exception will be logged, which is useful for figuring out the precise nature of the problem (particularly since
getMessage()
is often not helpful). - It is less typing. :-)