修复设置,更换mysql驱动
This commit is contained in:
@@ -15,8 +15,8 @@ namespace COMCMS.Web.ExceptionHandler
|
||||
{
|
||||
string message = exception.Message;
|
||||
|
||||
ReJSON error = new ReJSON(message);
|
||||
|
||||
ReJson error = new ReJson(message);
|
||||
context.Response.ContentType = "text/json";
|
||||
await context.Response.WriteAsync(error.ToJson());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user