Browse Source

Fix: raising no route matched log level to Warning (#1424)

Bo He 4 years ago
parent
commit
f2b1b79283
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/dispatcher/default.go

+ 1 - 1
app/dispatcher/default.go

@@ -306,7 +306,7 @@ func (d *DefaultDispatcher) routedDispatch(ctx context.Context, link *transport.
 				newError("non existing tag: ", tag).AtWarning().WriteToLog(session.ExportIDToError(ctx))
 			}
 		} else {
-			newError("default route for ", destination).WriteToLog(session.ExportIDToError(ctx))
+			newError("default route for ", destination).AtWarning().WriteToLog(session.ExportIDToError(ctx))
 		}
 	}