backend: fix formating issue, thanks to go vet

This commit is contained in:
nemunaire 2018-11-28 01:11:47 +01:00
parent ef26e46ac9
commit d6ae1551ba

View file

@ -38,14 +38,14 @@ func treatSubmission(pathname string, team fic.Team, exercice_id string) {
// Find the given exercice
exercice, err := fic.GetExercice(int64(eid))
if err != nil {
log.Printf("%s [ERR] Unable to find exercice %d: %s", id, eid, err)
log.Printf("%s [ERR] Unable to find exercice %d: %s\n", id, eid, err)
return
}
// Find the corresponding theme
theme, err := exercice.GetTheme()
if err != nil {
log.Println("%s [ERR] Unable to retrieve theme for exercice %d: %s", id, eid, err)
log.Printf("%s [ERR] Unable to retrieve theme for exercice %d: %s\n", id, eid, err)
return
}