Files
cms_thermo_active/Step/WebApiUnhandledExceptionHandler.cs
T
CMS4390\marantalu 512a2200c6 * Added MySQL dependencies, check mysql connection on startup
* Added default Api unhandled exceptions
* Fixed config file
2017-12-06 12:11:01 +01:00

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);
}
}
}