|
|
@@ -13,6 +13,7 @@ import org.springframework.security.core.context.SecurityContextHolder;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
import org.springframework.util.StringUtils;
|
|
|
|
|
|
+import java.util.Arrays;
|
|
|
import java.util.List;
|
|
|
import java.util.Objects;
|
|
|
|
|
|
@@ -79,6 +80,9 @@ public class ForkServiceImpl implements ForkService {
|
|
|
return new ForkVO(newProjectId, newName);
|
|
|
} catch (Exception e) {
|
|
|
log.error("Fork API 异常:" + e.getMessage());
|
|
|
+ log.error("Fork API 异常类型:" + e.getClass());
|
|
|
+ log.error("Fork API 异常调用栈:");
|
|
|
+ e.printStackTrace();
|
|
|
return null;
|
|
|
}
|
|
|
}
|