Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in batch response #50

Open
PauloMolarinhoMattos opened this issue May 5, 2023 · 1 comment
Open

Error in batch response #50

PauloMolarinhoMattos opened this issue May 5, 2023 · 1 comment

Comments

@PauloMolarinhoMattos
Copy link

In the batch response, why not return the full object? with erros and result?.

by doind bitrix.batch, if there is an error in the array, it will throw error and the error is just a string "Error: [batch] failed to process. Received errors in 1 commands:
[object Object]"

this is a big problem, cause, after the batch, how can i know which commans have worked and which didnt?

I would like to, after the batch, know the commands that worked and those that didnt

@mrhyde
Copy link
Member

mrhyde commented May 8, 2023

Could you provide a sample of the code that you are trying to run?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants