Skip to content

Commit

Permalink
Continue processing notes when OS fails to write a file
Browse files Browse the repository at this point in the history
  • Loading branch information
wormi4ok committed Jun 30, 2021
1 parent 050a431 commit 3bbb2e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func run(files []string, output *noteFilesDir, progress *pb.ProgressBar, c *inte
md, err := c.Convert(&n[i])
failWhen(err)
err = output.SaveNote(n[i].Title, md)
failWhen(err)
_ = fmt.Errorf("[ERROR] %w", err)

progress.Increment()
}
Expand Down

0 comments on commit 3bbb2e5

Please sign in to comment.