mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-01-19 14:02:13 +01:00
Log exception in default branch delete protection
This commit is contained in:
@@ -70,7 +70,7 @@ public class DefaultBranchDeleteProtection {
|
||||
try {
|
||||
return service.getBranchesCommand().setDisableCache(true).getBranches();
|
||||
} catch (IOException e) {
|
||||
LOG.warn("Could not read branches in repository {} to check for default branch", service.getRepository());
|
||||
LOG.warn("Could not read branches in repository {} to check for default branch", service.getRepository(), e);
|
||||
return new Branches();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user