mirror of
https://github.com/imgfloat/server.git
synced 2026-02-05 03:39:26 +00:00
Re-interrupt thread on exception
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user