修改了exceptionmiddleware, 现在可以配置的时候跳过 特定statusCode
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
namespace SimApi.Configurations;
|
||||
|
||||
public class SimApiExceptionOptions
|
||||
{
|
||||
public int[] SkipStatusCodes = [200, 301, 302];
|
||||
}
|
||||
Reference in New Issue
Block a user