fix route error not showing

This commit is contained in:
yusing 2025-02-06 18:08:25 +08:00
parent df3212873f
commit 5dc805bc5b

View file

@ -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 {