Skip to content

Commit 7d54e85

Browse files
committed
debug logging
1 parent 0816a12 commit 7d54e85

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/java/com/redhat/labs/omp/service/FileService.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,16 @@ public Optional<File> createFile(Integer projectId, String filePath, File file)
5050
public boolean createFiles(Integer projectId, CommitMultiple commit) {
5151

5252
Response response = null;
53-
53+
LOGGER.debug("commit before encoding {}", commit);
5454
// encode actions in commit
5555
commit.encodeActions();
56-
56+
LOGGER.debug("commit after encoding {}", commit);
5757
// call gitlab api to commit
5858
response = gitLabService.commitMultipleFiles(projectId, commit);
59-
59+
LOGGER.debug("commit before decoding {}", commit);
6060
// decode actions in commit
6161
commit.decodeActions();
62-
62+
LOGGER.debug("commit before decoding {}", commit);
6363
// should get a 201 back if commit created
6464
return HttpStatus.SC_CREATED == response.getStatus();
6565
}

0 commit comments

Comments
 (0)