From efbf01b49d1fbb5b13ae571fbc75fc9297b2a7bc Mon Sep 17 00:00:00 2001 From: Guilherme Rezende Date: Mon, 22 Jun 2015 23:19:48 -0300 Subject: [PATCH] change from error to a warning in errors setup --- config/setup/errors.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/setup/errors.go b/config/setup/errors.go index 94fb4b4e..a261560d 100644 --- a/config/setup/errors.go +++ b/config/setup/errors.go @@ -1,6 +1,7 @@ package setup import ( + "fmt" "log" "os" "path" @@ -68,7 +69,7 @@ func errorsParse(c *Controller) (*errors.ErrorHandler, error) { where = path.Join(c.Root, where) f, err := os.Open(where) if err != nil { - return hadBlock, c.Err("Unable to open error page '" + where + "': " + err.Error()) + fmt.Println("Warning: Unable to open error page '" + where + "': " + err.Error()) } f.Close()