Skip to content

Conversation

@283222278
Copy link

No description provided.

consume  panic . lead to receive result invalid.
if p.exception != nil {
p.exception.OnExcept(err)
}else {
panic(err)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Currently, only the above error types will raise panic, other types of errors will be ignored by default, but you can call parallel.Except() method to add an exception handler that can handle the panic or just re-panic.

@283222278
Copy link
Author

if no parallel.Except() callback, other types of errors will be ignored.
program received result without warning,this can be a serious problem with some data .

@FrankDMartinez
Copy link

@283222278 Can you give an example of such a case?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants