diff options
Diffstat (limited to '')
-rw-r--r-- | main.go | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -20,8 +20,9 @@ func main() { log.Fatal(err) } - if err = UnveilPaths([]string{c.Dirs.Static, c.Repo.ScanPath, c.Dirs.Templates}, "r"); err != nil { - log.Fatal(err) + err = UnveilPaths([]string{c.Dirs.Static, c.Repo.ScanPath, c.Dirs.Templates}, "r") + if err != nil { + log.Fatalf("unveil: %w", err) } mux := routes.Handlers(c) |