mirror of
https://github.com/yusing/godoxy.git
synced 2025-05-20 04:42:33 +02:00
fixed missing error subject
This commit is contained in:
parent
64728d10ad
commit
67b2286df0
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ func (p *FileProvider) loadRoutesImpl() (R.Routes, E.Error) {
|
|||
}
|
||||
|
||||
if err := Validate(data); err != nil {
|
||||
E.LogWarn(p.fileName+": validation failure", err)
|
||||
E.LogWarn("validation failure", err.Subject(p.fileName))
|
||||
}
|
||||
|
||||
return R.FromEntries(entries)
|
||||
|
|
Loading…
Add table
Reference in a new issue