[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [onionoo/master] Preserve stack trace.



commit 6390de503400426ceacb6535e2b37abd769ebb7c
Author: Karsten Loesing <karsten.loesing@xxxxxxx>
Date:   Thu Mar 20 17:22:23 2014 +0100

    Preserve stack trace.
    
    Found by SonarQube.
---
 src/org/torproject/onionoo/NodeStatus.java |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/org/torproject/onionoo/NodeStatus.java b/src/org/torproject/onionoo/NodeStatus.java
index 78a08c2..da39a5b 100644
--- a/src/org/torproject/onionoo/NodeStatus.java
+++ b/src/org/torproject/onionoo/NodeStatus.java
@@ -70,7 +70,7 @@ public class NodeStatus extends Document {
           this.fingerprint.toCharArray())).toUpperCase();
     } catch (DecoderException e) {
       throw new IllegalArgumentException("Fingerprint '" + fingerprint
-          + "' is not a valid fingerprint.");
+          + "' is not a valid fingerprint.", e);
     }
     this.address = address;
     this.exitAddresses = new TreeSet<String>();



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits