Committed by
Gerrit Code Review
Print exception to log instead of stderr
Change-Id: Ib4ecad88ba81ba3ba14d1fbcc1581ef4c16a3abb
Showing
1 changed file
with
2 additions
and
1 deletions
... | @@ -92,7 +92,8 @@ public class CounterTestIncrementCommand extends AbstractShellCommand { | ... | @@ -92,7 +92,8 @@ public class CounterTestIncrementCommand extends AbstractShellCommand { |
92 | } catch (InterruptedException e) { | 92 | } catch (InterruptedException e) { |
93 | return; | 93 | return; |
94 | } catch (ExecutionException | TimeoutException e) { | 94 | } catch (ExecutionException | TimeoutException e) { |
95 | - e.printStackTrace(); | 95 | + print("Error executing command"); |
96 | + log.error("Error executing command counter-test-increment", e); | ||
96 | } | 97 | } |
97 | } | 98 | } |
98 | } | 99 | } | ... | ... |
-
Please register or login to post a comment