Skip to content

Commit

Permalink
+ core: pass orignal throwable to logging (#389)
Browse files Browse the repository at this point in the history
  • Loading branch information
sjoerdmulder authored and dpsoft committed Sep 6, 2016
1 parent b8a4dd0 commit bd06f44
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -158,7 +158,7 @@ class HdrHistogram(dynamicRange: DynamicRange) extends ModifiedAtomicHistogram(d
recordValueWithCount(value, count)
} catch {
case anyException: Throwable
log.warn(s"Failed to store value $value in HdrHistogram, please review your range configuration.")
log.warn(s"Failed to store value $value in HdrHistogram, please review your range configuration.", anyException)
}
}

Expand Down Expand Up @@ -326,4 +326,4 @@ object CompactHdrSnapshot {
val CompactRecordCountMask = 0xFFFFFFFFFFFFL

def compactRecord(index: Long, count: Long): Long = (index << 48) | count
}
}

0 comments on commit bd06f44

Please sign in to comment.