Commit efbf01b4 authored by Guilherme Rezende's avatar Guilherme Rezende

change from error to a warning in errors setup

parent 4b349805
package setup package setup
import ( import (
"fmt"
"log" "log"
"os" "os"
"path" "path"
...@@ -68,7 +69,7 @@ func errorsParse(c *Controller) (*errors.ErrorHandler, error) { ...@@ -68,7 +69,7 @@ func errorsParse(c *Controller) (*errors.ErrorHandler, error) {
where = path.Join(c.Root, where) where = path.Join(c.Root, where)
f, err := os.Open(where) f, err := os.Open(where)
if err != nil { 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() f.Close()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment