forked from gongxuegit/tiku-backend.net
feat(platform): add CRM SMS and payment settings
This commit is contained in:
@@ -355,6 +355,16 @@ public sealed class ExceptionHandlingMiddleware(
|
||||
return;
|
||||
}
|
||||
|
||||
if (exception is PlatformCapabilityException platformCapabilityException)
|
||||
{
|
||||
await WriteProblemAsync(
|
||||
context,
|
||||
platformCapabilityException.Message,
|
||||
StatusCodes.Status400BadRequest,
|
||||
platformCapabilityException.Code);
|
||||
return;
|
||||
}
|
||||
|
||||
if (exception is ObjectStorageException storageException)
|
||||
{
|
||||
await WriteProblemAsync(
|
||||
|
||||
Reference in New Issue
Block a user