512a2200c6
* Added default Api unhandled exceptions * Fixed config file
14 lines
314 B
C#
14 lines
314 B
C#
using System.Web.Http.ExceptionHandling;
|
|
using static Step.Utils.ExceptionManager;
|
|
|
|
namespace Step
|
|
{
|
|
public class WebApiUnhandledExceptionHandler : ExceptionHandler
|
|
{
|
|
public override void Handle(ExceptionHandlerContext context)
|
|
{
|
|
Manage(context.Exception);
|
|
}
|
|
}
|
|
}
|