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:
13116
service/dictionaries/en.json
vendored
13116
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);
|
||||
Except
|
||||
|
||||
Error = ErrorDescription();
|
||||
Error = BriefErrorRepresentation(ErrorInfo());
|
||||
|
||||
Context.Response.StatusCode = 500;
|
||||
Context.Response.WriteAsJson(New Structure("result,error", False, Error));
|
||||
@@ -122,8 +122,8 @@ Procedure ExecuteProcessingGet(Context, Handler)
|
||||
|
||||
Key = Argument["arg"];
|
||||
Value = Argument["value"];
|
||||
Value = ?(StrStartsWith(Value, """"), Right(Value, StrLen(Value) - 1), Value);
|
||||
Value = ?(StrEndsWith(Value , """"), Left(Value , StrLen(Value) - 1), Value);
|
||||
Value = ?(StrStartsWith(Value , """"), Right(Value, StrLen(Value) - 1), Value);
|
||||
Value = ?(StrEndsWith(Value , """"), Left(Value , StrLen(Value) - 1), Value);
|
||||
|
||||
If Argument["strict"] = 1 Then
|
||||
StrictArguments.Insert(Key, Value);
|
||||
|
@@ -57,7 +57,7 @@ Procedure MainHandler(Context, NexHandler) Export
|
||||
ProcessRequest(Context);
|
||||
Except
|
||||
|
||||
Error = ErrorDescription();
|
||||
Error = BriefErrorRepresentation(ErrorInfo());
|
||||
|
||||
Context.Response.StatusCode = 500;
|
||||
Context.Response.WriteAsJson(New Structure("result,error", False, Error));
|
||||
@@ -122,8 +122,8 @@ Procedure ExecuteProcessingGet(Context, Handler)
|
||||
|
||||
Key = Argument["arg"];
|
||||
Value = Argument["value"];
|
||||
Value = ?(StrStartsWith(Value, """"), Right(Value, StrLen(Value) - 1), Value);
|
||||
Value = ?(StrEndsWith(Value , """"), Left(Value , StrLen(Value) - 1), Value);
|
||||
Value = ?(StrStartsWith(Value , """"), Right(Value, StrLen(Value) - 1), Value);
|
||||
Value = ?(StrEndsWith(Value , """"), Left(Value , StrLen(Value) - 1), Value);
|
||||
|
||||
If Argument["strict"] = 1 Then
|
||||
StrictArguments.Insert(Key, Value);
|
||||
|
@@ -57,7 +57,7 @@
|
||||
ОбработатьЗапрос(Контекст);
|
||||
Исключение
|
||||
|
||||
Ошибка = ОписаниеОшибки();
|
||||
Ошибка = КраткоеПредставлениеОшибки(ИнформацияОбОшибке());
|
||||
|
||||
Контекст.Ответ.КодСостояния = 500;
|
||||
Контекст.Ответ.ЗаписатьКакJson(Новый Структура("result,error", Ложь, Ошибка));
|
||||
|
Reference in New Issue
Block a user