Esempio n. 1
0
 public async Task InvokeAsync(HttpContext context, IDbLogger logger)
 {
     try
     {
         await _next.Invoke(context);
     }
     catch (Exception e)
     {
         await logger.LogExceptionAsync(e);
         await HandleExceptionAsync(context, e);
     }
 }