|
|
@@ -68,7 +68,9 @@ public class CommitLinkServiceImpl implements CommitLinkService {
|
|
|
object.put("project_id",projectId);
|
|
|
object.put("commit_time",commit.getTimestamp());
|
|
|
object.put("message",commit.getMessage());
|
|
|
- }catch (Exception ignored){}
|
|
|
+ }catch (Exception ignored){
|
|
|
+ log.error("Error occurred while putting values into JSONObject: {}", ignored.getMessage());
|
|
|
+ }
|
|
|
|
|
|
|
|
|
log.info("resolving commit id : {}, title : {}, message : {}", commit.getId(), commit.getTitle(), commit.getMessage());
|
|
|
@@ -76,7 +78,6 @@ public class CommitLinkServiceImpl implements CommitLinkService {
|
|
|
// 应该分析 title 还是 message 与学生的提交规范有关
|
|
|
CommitRule rule = CommitResolver.resolve(commit.getMessage());
|
|
|
if (rule == null){
|
|
|
- log.info("用户id是, user_id: {}",object.get("user_id"));
|
|
|
log.info("Commits 不符合规范, id: {}", commit.getId());
|
|
|
//ANA
|
|
|
try {
|