Skip to content

Commit d0b6b1f

Browse files
committed
Revert "fix: replace unused error creation with log output"
This reverts commit 7ec36ed.
1 parent 7ec36ed commit d0b6b1f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/watcher/executor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ func TriggerImport(entry config.WatchEntry) {
1212
// Retrieve config to get client options.
1313
cfgPath, err := config.DefaultLocalConfigPath()
1414
if err != nil {
15-
fmt.Printf("Error while loading config: %s\n", err.Error())
15+
fmt.Errorf("Error while loading config: %s", err.Error())
1616
}
1717

1818
fmt.Println("[INFO] Re-importing changed file: " + entry.FilePath)

0 commit comments

Comments
 (0)