Skip to content

Commit

Permalink
Log Errors from SlaveComputer._connect (#8675)
Browse files Browse the repository at this point in the history
  • Loading branch information
jglick committed Nov 5, 2023
1 parent d0c4dfe commit d06f360
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/hudson/slaves/SlaveComputer.java
Expand Up @@ -308,7 +308,7 @@ protected Future<?> _connect(boolean forceReconnect) {
e.addSuppressed(threadInfo);
Functions.printStackTrace(e, taskListener.error(Messages.ComputerLauncher_abortedLaunch()));
throw e;
} catch (RuntimeException e) {
} catch (RuntimeException | Error e) {
e.addSuppressed(threadInfo);
Functions.printStackTrace(e, taskListener.error(Messages.ComputerLauncher_unexpectedError()));
throw e;
Expand Down

0 comments on commit d06f360

Please sign in to comment.