mirror of
https://github.com/bitwarden/server.git
synced 2025-07-02 00:22:50 -05:00
fix billing problems
This commit is contained in:
@ -10,6 +10,7 @@ using Bit.Core.Utilities;
|
||||
using Serilog.Events;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using Microsoft.Extensions.DependencyInjection.Extensions;
|
||||
using Bit.Billing.Utilities;
|
||||
|
||||
namespace Bit.Billing
|
||||
{
|
||||
@ -52,7 +53,10 @@ namespace Bit.Billing
|
||||
services.TryAddSingleton<IHttpContextAccessor, HttpContextAccessor>();
|
||||
|
||||
// Mvc
|
||||
services.AddMvc();
|
||||
services.AddMvc(config =>
|
||||
{
|
||||
config.Filters.Add(new ExceptionHandlerFilterAttribute());
|
||||
});
|
||||
}
|
||||
|
||||
public void Configure(
|
||||
|
Reference in New Issue
Block a user