mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Merge pull request #4072 from AutogrowSystems/settings-validation-static-root-path-error-fix
Fixed bug that wasn't showing the StaticRootPath when validation failed
This commit is contained in:
commit
ed58474c37
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user