diff options
author | Yang Song <songy23@users.noreply.github.com> | 2018-03-26 12:07:30 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-26 12:07:30 -0700 |
commit | 422d78f044a3941f6910d1b66452ded45a386b0c (patch) | |
tree | a44f1ba4aed65c02f0375b9541e57a2d1a4234be /api | |
parent | 7d84c67f9eed7367fc9a1eb58b42bd9f0d1707e2 (diff) | |
download | opencensus-java-422d78f044a3941f6910d1b66452ded45a386b0c.tar.gz |
Update Guava and Jmh versions (#1095)
Diffstat (limited to 'api')
-rw-r--r-- | api/src/main/java/io/opencensus/trace/CurrentSpanUtils.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/api/src/main/java/io/opencensus/trace/CurrentSpanUtils.java b/api/src/main/java/io/opencensus/trace/CurrentSpanUtils.java index 539339bc..7ff7dd0a 100644 --- a/api/src/main/java/io/opencensus/trace/CurrentSpanUtils.java +++ b/api/src/main/java/io/opencensus/trace/CurrentSpanUtils.java @@ -121,7 +121,7 @@ final class CurrentSpanUtils { runnable.run(); } catch (Throwable t) { setErrorStatus(span, t); - Throwables.propagateIfPossible(t); + Throwables.throwIfUnchecked(t); throw new RuntimeException("unexpected", t); } finally { Context.current().detach(origContext); @@ -154,7 +154,7 @@ final class CurrentSpanUtils { throw e; } catch (Throwable t) { setErrorStatus(span, t); - Throwables.propagateIfPossible(t); + Throwables.throwIfUnchecked(t); throw new RuntimeException("unexpected", t); } finally { Context.current().detach(origContext); |