ssm-browse: fixed tests

This commit is contained in:
Leon Mika 2022-03-31 20:57:41 +11:00
parent 1b8518b6e4
commit 452a9ba707
4 changed files with 104 additions and 98 deletions

View file

@ -30,7 +30,7 @@ func (s *Service) Open(filename string) (*models.LogFile, error) {
var data interface{}
if err := json.Unmarshal([]byte(line), &data); err != nil {
log.Println("invalid json line: %v", err)
log.Printf("invalid json line: %v", err)
continue
}