Skip to content

Commit

Permalink
ci compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
ymh199478 committed Feb 14, 2018
1 parent da40238 commit 09cb745
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/CatLib.Framework/Routing/Route.cs
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,11 @@ private void ThroughRouteMiddleware(Request request, Response response, object c
var count = 0;
while (count++ < 255)
{
ex = ex.InnerException ?? throw ex;
if (ex.InnerException == null)
{
throw ex;
}
ex = ex.InnerException;
}

if (count >= 255)
Expand Down

0 comments on commit 09cb745

Please sign in to comment.