コード例 #1
0
ファイル: SSOExceptionFilter.cs プロジェクト: bh-schmidt/sso
        public override void OnException(ExceptionContext context)
        {
            if (!context.IsNull() && !context.Exception.IsNull())
            {
                Debug.WriteLine($"Error: {context.Exception.Message}");
            }

            context.Result = CreateExceptionResponse();
        }