mirror of
https://github.com/1f349/site-hosting.git
synced 2025-01-20 22:26:37 +00:00
Update this logging
This commit is contained in:
parent
08f94bc260
commit
cbf6878c13
@ -79,12 +79,12 @@ func main() {
|
||||
|
||||
err = os.MkdirAll(sitesDir, 0770)
|
||||
if err != nil {
|
||||
logger.Logger.Fatal("Failed to find or create sites directory. Error: ", err)
|
||||
logger.Logger.Fatal("Failed to find or create sites directory", "err", err)
|
||||
}
|
||||
|
||||
err = os.MkdirAll(sitesPostHookDir, 0770)
|
||||
if err != nil {
|
||||
logger.Logger.Fatal("Failed to find or create sites directory. Error: ", err)
|
||||
logger.Logger.Fatal("Failed to find or create sites directory", "err", err)
|
||||
}
|
||||
|
||||
sitesFs := afero.NewBasePathFs(afero.NewOsFs(), sitesDir)
|
||||
|
Loading…
Reference in New Issue
Block a user