commit 53857805b626184461c572559ecbab42fc74ee1a Author: Karsten Loesing karsten.loesing@gmx.net Date: Tue Aug 21 10:22:58 2018 +0200
Use parameterized log statements. --- .../java/org/torproject/descriptor/impl/DescriptorReaderImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/java/org/torproject/descriptor/impl/DescriptorReaderImpl.java b/src/main/java/org/torproject/descriptor/impl/DescriptorReaderImpl.java index 5ce99e1..46d17ef 100644 --- a/src/main/java/org/torproject/descriptor/impl/DescriptorReaderImpl.java +++ b/src/main/java/org/torproject/descriptor/impl/DescriptorReaderImpl.java @@ -158,8 +158,8 @@ public class DescriptorReaderImpl implements DescriptorReader { this.readTarballs(); this.hasFinishedReading = true; } catch (Throwable t) { - log.error("Bug: uncaught exception or error while " - + "reading descriptors: " + t.getMessage(), t); + log.error("Bug: uncaught exception or error while reading descriptors.", + t); } finally { if (null != this.descriptorQueue) { this.descriptorQueue.setOutOfDescriptors();
tor-commits@lists.torproject.org