Skip to content
Permalink
Browse files
Use logger.error instead of printStackTrace in HarryRunner.
  • Loading branch information
grighetto authored and ifesdjeen committed Dec 11, 2020
1 parent 884b3d1 commit ede0115320a438dce9b5d19039782cacc0268a77
Showing 1 changed file with 1 addition and 1 deletion.
@@ -72,7 +72,7 @@ default void run(Configuration configuration) throws Throwable
}).get(run.snapshot.run_time_unit.toSeconds(run.snapshot.run_time) + 30,
TimeUnit.SECONDS);
if (result instanceof Throwable)
((Throwable) result).printStackTrace();
logger.error("Execution failed", result);

}
catch (Throwable e)

0 comments on commit ede0115

Please sign in to comment.