From 496bf3ecb308b4ee9aec020d76c9f13306da5b87 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Sun, 8 Jan 2023 14:18:16 -0800 Subject: [PATCH] Add details to temp dir removal error --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index c7ebf8ef4..a304d9d58 100644 --- a/main.go +++ b/main.go @@ -61,7 +61,7 @@ func main() { if utils.DoesFileExists(config.TempDir) { err := os.RemoveAll(config.TempDir) if err != nil { - log.Fatalln("Unable to remove temp dir!") + log.Fatalln("Unable to remove temp dir! Check permissions.", config.TempDir, err) } } if err := os.Mkdir(config.TempDir, 0o700); err != nil {