Commit ed58474c by Torkel Ödegaard

Merge pull request #4072 from AutogrowSystems/settings-validation-static-root-path-error-fix

Fixed bug that wasn't showing the StaticRootPath when validation failed
parents e24e3461 4c304896
......@@ -6,7 +6,6 @@ package setting
import (
"bytes"
"encoding/json"
"errors"
"fmt"
"net/url"
"os"
......@@ -386,7 +385,7 @@ func validateStaticRootPath() error {
return nil
}
return errors.New("Failed to detect generated css or javascript files in static root (%s), have you executed default grunt task?")
return fmt.Errorf("Failed to detect generated css or javascript files in static root (%s), have you executed default grunt task?", StaticRootPath)
}
func NewConfigContext(args *CommandLineArgs) error {
......
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