Skip to content

Commit

Permalink
chore: Change failed rename log to trace level
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed Oct 6, 2023
1 parent a921f2a commit 8f54bde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ func openAndTemplate(cmd *cobra.Command, conf config.Config, p string) (err erro
}

if err := os.Rename(temp.Name(), p); err != nil {
log.Debug("failed to rename file, attempting to copy contents")
log.Trace("failed to rename file, attempting to copy contents")

in, err := os.Open(temp.Name())
if err != nil {
Expand Down

0 comments on commit 8f54bde

Please sign in to comment.