Propagate IOException in TagMatcher
This causes a 500 rather than silently omitting a tag from the ref advertisement. Change-Id: I868dd65b285a9b5cd8ce37152d89f086e692f605
This commit is contained in:
		@@ -255,8 +255,12 @@ class DefaultRefFilter {
 | 
			
		||||
                          .values()
 | 
			
		||||
                      : result.values());
 | 
			
		||||
      for (Ref tag : deferredTags) {
 | 
			
		||||
        if (tags.isReachable(tag)) {
 | 
			
		||||
          result.put(tag.getName(), tag);
 | 
			
		||||
        try {
 | 
			
		||||
          if (tags.isReachable(tag)) {
 | 
			
		||||
            result.put(tag.getName(), tag);
 | 
			
		||||
          }
 | 
			
		||||
        } catch (IOException e) {
 | 
			
		||||
          throw new PermissionBackendException(e);
 | 
			
		||||
        }
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user