Corrected spelling error occured => occurred (#138)

Signed-off-by: Martin van Wingerden <martinvw@mtin.nl>
pull/144/head
Martin van Wingerden 2017-04-15 11:53:49 +02:00 committed by Kai Kreuzer
parent 541b3e3444
commit 1ccb558db6
1 changed files with 2 additions and 4 deletions

View File

@ -119,10 +119,8 @@ public class ExecUtil {
try {
executor.execute(cmdLine, resultHandler);
logger.debug("executed commandLine '{}'", commandLine);
} catch (ExecuteException e) {
logger.error("couldn't execute commandLine '" + commandLine + "'", e);
} catch (IOException e) {
logger.error("couldn't execute commandLine '" + commandLine + "'", e);
logger.error("couldn't execute commandLine '{}'", commandLine, e);
}
// some time later the result handler callback was invoked so we
@ -137,7 +135,7 @@ public class ExecUtil {
logger.debug("exit code '{}', result '{}'", exitCode, retval);
}
} catch (InterruptedException e) {
logger.error("Timeout occured when executing commandLine '" + commandLine + "'", e);
logger.error("Timeout occurred when executing commandLine '{}'", commandLine, e);
}
return retval;