Skip to content

Commit

Permalink
[Remove] unused ex variable
Browse files Browse the repository at this point in the history
  • Loading branch information
samatstariongroup committed Oct 19, 2024
1 parent afbc658 commit b4e7805
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions ECoreNetto.Tools/Middlewares/VersionCheckerMiddleware.cs
Original file line number Diff line number Diff line change
Expand Up @@ -79,16 +79,12 @@ public static CommandLineBuilder UseVersionChecker(this CommandLineBuilder build

await next(context);
}
catch (TaskCanceledException ex)
catch (TaskCanceledException)
{
AnsiConsole.WriteLine("");
AnsiConsole.MarkupLine($"[Red] Checking version at GitHub API timed out. [/]");
AnsiConsole.WriteLine("");
}
catch (Exception ex)
{
throw;
}
}, MiddlewareOrder.ExceptionHandler);
}
}
Expand Down

0 comments on commit b4e7805

Please sign in to comment.