diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2014-09-09 13:49:17 +0200 |
|---|---|---|
| committer | Samuel Tardieu <sam@rfc1149.net> | 2014-09-09 13:49:17 +0200 |
| commit | f68437aa50c15bc8d2958589fdc4f38c1a79a38c (patch) | |
| tree | 36d23452938cd54237b81b8a0c82fa31116448af /main/src/cgeo/geocaching/files | |
| parent | 2fd73fd6d8b27d6633b6667c718e274ecc8ee893 (diff) | |
| download | cgeo-f68437aa50c15bc8d2958589fdc4f38c1a79a38c.zip cgeo-f68437aa50c15bc8d2958589fdc4f38c1a79a38c.tar.gz cgeo-f68437aa50c15bc8d2958589fdc4f38c1a79a38c.tar.bz2 | |
Include exception stack trace in error message
Diffstat (limited to 'main/src/cgeo/geocaching/files')
| -rw-r--r-- | main/src/cgeo/geocaching/files/GPXParser.java | 4 | ||||
| -rw-r--r-- | main/src/cgeo/geocaching/files/LocalStorage.java | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/main/src/cgeo/geocaching/files/GPXParser.java b/main/src/cgeo/geocaching/files/GPXParser.java index aa1a539..1b57908 100644 --- a/main/src/cgeo/geocaching/files/GPXParser.java +++ b/main/src/cgeo/geocaching/files/GPXParser.java @@ -303,7 +303,7 @@ public abstract class GPXParser extends FileParser { } } } catch (final NumberFormatException e) { - Log.w("Failed to parse waypoint's latitude and/or longitude."); + Log.w("Failed to parse waypoint's latitude and/or longitude", e); } } }); @@ -534,7 +534,7 @@ public abstract class GPXParser extends FileParser { cache.setDisabled(!attrs.getValue("available").equalsIgnoreCase("true")); } } catch (final RuntimeException e) { - Log.w("Failed to parse cache attributes."); + Log.w("Failed to parse cache attributes", e); } } }); diff --git a/main/src/cgeo/geocaching/files/LocalStorage.java b/main/src/cgeo/geocaching/files/LocalStorage.java index 2b1206c..6a510d8 100644 --- a/main/src/cgeo/geocaching/files/LocalStorage.java +++ b/main/src/cgeo/geocaching/files/LocalStorage.java @@ -460,7 +460,7 @@ public final class LocalStorage { } } catch (final IOException e) { Log.e("Could not get additional mount points for user content. " + - "Proceeding with external storage only (" + extStorage + ")"); + "Proceeding with external storage only (" + extStorage + ")", e); } finally { IOUtils.closeQuietly(fr); IOUtils.closeQuietly(br); |
