You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-08-10 22:41:43 +02:00
Main build (Jenkins)
This commit is contained in:
13112
service/dictionaries/en.json
vendored
13112
service/dictionaries/en.json
vendored
File diff suppressed because it is too large
Load Diff
@@ -57,7 +57,7 @@ Procedure MainHandler(Context, NexHandler) Export
|
|||||||
ProcessRequest(Context);
|
ProcessRequest(Context);
|
||||||
Except
|
Except
|
||||||
|
|
||||||
Error = ErrorDescription();
|
Error = BriefErrorRepresentation(ErrorInfo());
|
||||||
|
|
||||||
Context.Response.StatusCode = 500;
|
Context.Response.StatusCode = 500;
|
||||||
Context.Response.WriteAsJson(New Structure("result,error", False, Error));
|
Context.Response.WriteAsJson(New Structure("result,error", False, Error));
|
||||||
|
@@ -57,7 +57,7 @@ Procedure MainHandler(Context, NexHandler) Export
|
|||||||
ProcessRequest(Context);
|
ProcessRequest(Context);
|
||||||
Except
|
Except
|
||||||
|
|
||||||
Error = ErrorDescription();
|
Error = BriefErrorRepresentation(ErrorInfo());
|
||||||
|
|
||||||
Context.Response.StatusCode = 500;
|
Context.Response.StatusCode = 500;
|
||||||
Context.Response.WriteAsJson(New Structure("result,error", False, Error));
|
Context.Response.WriteAsJson(New Structure("result,error", False, Error));
|
||||||
|
@@ -57,7 +57,7 @@
|
|||||||
ОбработатьЗапрос(Контекст);
|
ОбработатьЗапрос(Контекст);
|
||||||
Исключение
|
Исключение
|
||||||
|
|
||||||
Ошибка = ОписаниеОшибки();
|
Ошибка = КраткоеПредставлениеОшибки(ИнформацияОбОшибке());
|
||||||
|
|
||||||
Контекст.Ответ.КодСостояния = 500;
|
Контекст.Ответ.КодСостояния = 500;
|
||||||
Контекст.Ответ.ЗаписатьКакJson(Новый Структура("result,error", Ложь, Ошибка));
|
Контекст.Ответ.ЗаписатьКакJson(Новый Структура("result,error", Ложь, Ошибка));
|
||||||
|
Reference in New Issue
Block a user