This is the codeAbility Sharing Platform! Learn more about the codeAbility Sharing Platform.

Skip to content
Snippets Groups Projects
Commit 03dd5a20 authored by Michael Breu's avatar Michael Breu :speech_balloon:
Browse files

Minimal correction for #148: Reducing LogOutput

parent 5e7d0c9e
Branches
1 merge request!55June Release
......@@ -51,7 +51,7 @@ public class ExerciseResource {
try {
repositoryStream = gitLabService.getRepositoryFile(exerciseId, filePath);
} catch (IOException | GitLabApiException e) {
log.error("Cannot read file for exercise {} and path {}", exerciseId, filePath, e);
log.warn("Cannot read file for exercise {} and path {}: {}", exerciseId, filePath, e.getMessage());
return ResponseEntity.notFound().headers(HeaderUtil.createFailureAlert(applicationName, true, "RepositoryFile", "not found",
"There was an error on the server and the resource file could not be created.")).build(); }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment