Kaynağa Gözat

fix: response close

Azure 2 yıl önce
ebeveyn
işleme
22c4e781cd

+ 1 - 0
seecoder-gitlab-client/src/main/java/com.nju.edu.gitlab/SeecoderGitlabClient.java

@@ -71,6 +71,7 @@ public class SeecoderGitlabClient implements SeecoderGitlabApi {
                 throw SeecoderGitlabException.NOT_FOUND_ERROR;
         } catch (IOException e) {
             logger.error("IOException", e);
+            response.close();
             throw SeecoderGitlabException.IO_ERROR;
         }
     }