Browse Source

Remove unnecesary catch

pull/632/head
Unai Zorrilla Castro 6 years ago
parent
commit
88fa0a6309
1 changed files with 2 additions and 4 deletions
  1. +2
    -4
      src/Web/WebMVC/Controllers/OrderController.cs

+ 2
- 4
src/Web/WebMVC/Controllers/OrderController.cs View File

@ -56,10 +56,8 @@ namespace Microsoft.eShopOnContainers.WebMVC.Controllers
{
ModelState.AddModelError("Error", "It was not possible to create a new order, please try later on. (Business Msg Due to Circuit-Breaker)");
}
catch (Exception ex)
{
}
return View("Create", model);
return View("Create", model);
}
public async Task<IActionResult> Cancel(string orderId)


Loading…
Cancel
Save