aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2012-12-19 22:44:14 +0100
committerSamuel Tardieu <sam@rfc1149.net>2012-12-19 22:46:20 +0100
commitcfbfdc7fce839b630d5f7833db5c758b75cfc923 (patch)
tree4f9b441436d3efd4d1adb077d50e3863d11b23ef
parentb4f2a56f3dab8b1ec28458373370a483d4483384 (diff)
downloadcgeo-cfbfdc7fce839b630d5f7833db5c758b75cfc923.zip
cgeo-cfbfdc7fce839b630d5f7833db5c758b75cfc923.tar.gz
cgeo-cfbfdc7fce839b630d5f7833db5c758b75cfc923.tar.bz2
Use warning instead of error since the problem is escalated
At this stage, we cannot be sure that this will be treated as a real error.
-rw-r--r--main/src/cgeo/geocaching/files/GPXParser.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/files/GPXParser.java b/main/src/cgeo/geocaching/files/GPXParser.java
index 3f2e2c6..2ac19bb 100644
--- a/main/src/cgeo/geocaching/files/GPXParser.java
+++ b/main/src/cgeo/geocaching/files/GPXParser.java
@@ -774,7 +774,7 @@ public abstract class GPXParser extends FileParser {
Xml.parse(progressStream, Xml.Encoding.UTF_8, root.getContentHandler());
return cgData.loadCaches(result, EnumSet.of(LoadFlag.LOAD_DB_MINIMAL));
} catch (SAXException e) {
- Log.e("Cannot parse .gpx file as GPX " + version + ": could not parse XML - " + e.toString());
+ Log.w("Cannot parse .gpx file as GPX " + version + ": could not parse XML - " + e.toString());
throw new ParserException("Cannot parse .gpx file as GPX " + version + ": could not parse XML", e);
}
}