Skip to content

Commit 889fd40

Browse files
committed
Use appropriate log level programmers.txt/platform.txt load failure
These platform configuration files are optional, so the previous error level was inappropriate.
1 parent e794fff commit 889fd40

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: internal/project/projectdata/platform.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ func InitializeForPlatform(project project.Type) {
4444

4545
programmersTxt, programmersTxtLoadError = programmerstxt.Properties(ProjectPath())
4646
if programmersTxtLoadError != nil {
47-
logrus.Errorf("Error loading programmers.txt from %s: %s", project.Path, programmersTxtLoadError)
47+
logrus.Tracef("Error loading programmers.txt from %s: %s", project.Path, programmersTxtLoadError)
4848
programmersTxtSchemaValidationResult = nil
4949
} else {
5050
programmersTxtSchemaValidationResult = programmerstxt.Validate(programmersTxt)
@@ -56,7 +56,7 @@ func InitializeForPlatform(project project.Type) {
5656

5757
platformTxt, platformTxtLoadError = platformtxt.Properties(ProjectPath())
5858
if platformTxtLoadError != nil {
59-
logrus.Errorf("Error loading platform.txt from %s: %s", project.Path, platformTxtLoadError)
59+
logrus.Tracef("Error loading platform.txt from %s: %s", project.Path, platformTxtLoadError)
6060
platformTxtSchemaValidationResult = nil
6161
platformTxtToolNames = nil
6262
} else {

0 commit comments

Comments
 (0)