mirror of
https://github.com/imgfloat/server.git
synced 2026-11-05 06:44:08 +00:00
Re-interrupt thread on exception
This commit is contained in:
1 parent
7ef51e206f
commit
a387a0a43d
1 file changed
+2
-1
@@ -93,7 +93,8 @@ public class GitInfoService {
|
||||
return null;
|
||||
}
|
||||
} 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;
|
||||
} catch (IOException e) {
|
||||
LOG.debug("Git command IO error command {}", String.join(" ", command), e);
|
||||
|
||||
Reference in new issue
Block a user