aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/gcvote
diff options
context:
space:
mode:
authorBananeweizen <bananeweizen@gmx.de>2013-01-12 20:45:25 +0100
committerBananeweizen <bananeweizen@gmx.de>2013-01-12 20:45:25 +0100
commit884a60814d1a72ca30e9e9b0e31d59e895b2aca0 (patch)
tree2f6255ebc8d519b45649b2d874c8cb72b5d7809b /main/src/cgeo/geocaching/gcvote
parentd554491cd880eee557742b532b56407f2083d8e5 (diff)
downloadcgeo-884a60814d1a72ca30e9e9b0e31d59e895b2aca0.zip
cgeo-884a60814d1a72ca30e9e9b0e31d59e895b2aca0.tar.gz
cgeo-884a60814d1a72ca30e9e9b0e31d59e895b2aca0.tar.bz2
refactoring: use exception object in loggging
Diffstat (limited to 'main/src/cgeo/geocaching/gcvote')
-rw-r--r--main/src/cgeo/geocaching/gcvote/GCVote.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/cgeo/geocaching/gcvote/GCVote.java b/main/src/cgeo/geocaching/gcvote/GCVote.java
index e98ba56..fa17775 100644
--- a/main/src/cgeo/geocaching/gcvote/GCVote.java
+++ b/main/src/cgeo/geocaching/gcvote/GCVote.java
@@ -179,7 +179,7 @@ public final class GCVote {
}
}
} catch (Exception e) {
- Log.e("GCVote.getRating: " + e.toString());
+ Log.e("GCVote.getRating", e);
}
return ratings;
@@ -254,7 +254,7 @@ public final class GCVote {
}
}
} catch (Exception e) {
- Log.e("GCvote.loadRatings: " + e.toString());
+ Log.e("GCvote.loadRatings", e);
}
}
}