Skip to content

Commit

Permalink
#62 no verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed May 1, 2018
1 parent 3887f60 commit cd1d7c5
Showing 1 changed file with 10 additions and 13 deletions.
23 changes: 10 additions & 13 deletions src/main/java/io/wring/agents/Routine.java
Original file line number Diff line number Diff line change
Expand Up @@ -224,20 +224,17 @@ private static void close(final ExecutorService svc)
* @return The job for this pipe
*/
private Runnable job(final Pipe pipe) {
return new VerboseRunnable(
new RunnableOf<>(
new FuncWithFallback<Pipe, Boolean>(
new FuncOf<>(new Cycle(this.base)),
new FuncOf<>(
error -> {
Sentry.capture(error);
throw new IllegalStateException(error);
}
)
),
pipe
return new RunnableOf<>(
new FuncWithFallback<Pipe, Boolean>(
new FuncOf<>(new Cycle(this.base)),
new FuncOf<>(
error -> {
Sentry.capture(error);
throw new IllegalStateException(error);
}
)
),
false, true
pipe
);
}

Expand Down

0 comments on commit cd1d7c5

Please sign in to comment.