Re-interrupt thread on exception

This commit is contained in:
2026-01-06 01:21:37 +01:00
parent 7ef51e206f
commit a387a0a43d

View File

@@ -93,7 +93,8 @@ public class GitInfoService {
return null; return null;
} }
} catch (InterruptedException e) { } catch (InterruptedException e) {
LOG.debug("Git command interrupted {}", String.join(" ", command), e); Thread.currentThread().interrupt();
LOG.debug("Thread interrupt during git command {}", String.join(" ", command), e);
return null; return null;
} catch (IOException e) { } catch (IOException e) {
LOG.debug("Git command IO error command {}", String.join(" ", command), e); LOG.debug("Git command IO error command {}", String.join(" ", command), e);