Skip to content

Commit

Permalink
ajoute le nom du fichier d'où provient l'erreur
Browse files Browse the repository at this point in the history
  • Loading branch information
Josquin Cornec committed Sep 5, 2024
1 parent b67c931 commit f3ea342
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/marshal/filter.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ func readFilter(reader io.Reader, filter SirenFilter) error {
if sfregexp.RegexpDict["siren"].MatchString(siren) {
filter[siren] = true
} else {
return errors.New("Format de siren incorrect trouvé : " + siren)
return errors.New("Format de siren incorrect trouvé : " + siren + " dans le fichier " + reader)

Check failure on line 126 in lib/marshal/filter.go

View workflow job for this annotation

GitHub Actions / Push OpenSignauxFaibles container

invalid operation: "Format de siren incorrect trouvé : " + siren + " dans le fichier " + reader (mismatched types string and io.Reader)

Check failure on line 126 in lib/marshal/filter.go

View workflow job for this annotation

GitHub Actions / Go tests

invalid operation: "Format de siren incorrect trouvé : " + siren + " dans le fichier " + reader (mismatched types string and io.Reader)

Check failure on line 126 in lib/marshal/filter.go

View workflow job for this annotation

GitHub Actions / End-to-end tests

invalid operation: "Format de siren incorrect trouvé : " + siren + " dans le fichier " + reader (mismatched types string and io.Reader)

Check failure on line 126 in lib/marshal/filter.go

View workflow job for this annotation

GitHub Actions / Generate and lint

invalid operation: "Format de siren incorrect trouvé : " + siren + " dans le fichier " + reader (mismatched types string and io.Reader)
}
}
return nil
Expand Down

0 comments on commit f3ea342

Please sign in to comment.