aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/files
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2014-09-09 13:49:17 +0200
committerSamuel Tardieu <sam@rfc1149.net>2014-09-09 13:49:17 +0200
commitf68437aa50c15bc8d2958589fdc4f38c1a79a38c (patch)
tree36d23452938cd54237b81b8a0c82fa31116448af /main/src/cgeo/geocaching/files
parent2fd73fd6d8b27d6633b6667c718e274ecc8ee893 (diff)
downloadcgeo-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.java4
-rw-r--r--main/src/cgeo/geocaching/files/LocalStorage.java2
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);