mirror of
https://github.com/yusing/godoxy.git
synced 2025-05-31 00:52:35 +02:00
fix route error not showing
This commit is contained in:
parent
df3212873f
commit
5dc805bc5b
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ func (p *FileProvider) loadRoutesImpl() (route.Routes, E.Error) {
|
|||
if err != nil && len(routes) == 0 {
|
||||
return nil, E.Wrap(err)
|
||||
}
|
||||
return routes, nil
|
||||
return routes, E.Wrap(err)
|
||||
}
|
||||
|
||||
func (p *FileProvider) NewWatcher() W.Watcher {
|
||||
|
|
Loading…
Add table
Reference in a new issue