Commit 06a7f1d3 authored by Matt Holt's avatar Matt Holt

Merge pull request #160 from guilhermebr/master

errors: change missing errors file from error to a warning during parsing
parents 4b349805 efbf01b4
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()
......
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