Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

CaptureErrorAndWait swallows error #216

Open
femaref opened this issue Nov 1, 2018 · 2 comments
Open

CaptureErrorAndWait swallows error #216

femaref opened this issue Nov 1, 2018 · 2 comments

Comments

@femaref
Copy link

femaref commented Nov 1, 2018

I've had a problem with events not reaching an on premise server. Reason was that the go process did not have the relevant CA installed. This error was completely dropped and without changing the library you can't get it. I don't see a reason why it's not possible to show the error, especially with AndWait.

I'll make changes to the code and submit a PR soon.

@OGKevin
Copy link

OGKevin commented Nov 5, 2018

@femaref any updates on this? I think my implementation is also not working as expected.

@femaref
Copy link
Author

femaref commented Nov 6, 2018

I'm working on it, in the mean time you can print the result of the chan receive here:

<-ch

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

No branches or pull requests

2 participants