Skip to content

Commit

Permalink
Shortening the logged message if an exception occurs during Executrix…
Browse files Browse the repository at this point in the history
… execution (#933)
  • Loading branch information
drivenflywheel authored Oct 1, 2024
1 parent 4c928f3 commit f2e543f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/emissary/util/shell/Executrix.java
Original file line number Diff line number Diff line change
Expand Up @@ -861,9 +861,9 @@ private int execute(ExecuteConfig eConfig) {
stdErrThread.finish();
exitValue = p.exitValue();
} catch (IOException e) {
logger.warn("Exec exception, args={}", Arrays.asList(eConfig.getCmd()), e);
logger.warn("Failure during execution: {}, external command={}", e, Arrays.asList(eConfig.getCmd()));
} catch (InterruptedException e) {
logger.warn("Interrupted exception, args={}", Arrays.asList(eConfig.getCmd()), e);
logger.warn("Interrupted during execution: {}, external command={}", e, Arrays.asList(eConfig.getCmd()));
Thread.currentThread().interrupt();
} finally {
if (dog != null) {
Expand Down

0 comments on commit f2e543f

Please sign in to comment.