Closed apshoemaker closed 1 year ago
Thanks for the input. We'll run this through our testing, but the change is quite reasonable. If you'd like to discuss more robust and thorough error reporting for Monte Carlo that you think might benefit users who are using a similar setup to yours, you can open some issues or contact us directly to discuss.
I am going to close this pull request and create a branched PR so that I can keep it clean from other debug code that you may not want to pull in.
I am in the midst of setting up monte carlo simulations within a containerized kubernetes environment and had to work through a few different network-based gotchas. It became helpful for me to fork the repo and add this simple additional debug value to the socket initialization error in order to track down a connection issue (which helped quite a bit!). I thought it might be advantageous to add something like this to the upstream code base, but most likely perhaps a much more though-through design (perhaps with some sort of explanation of error given the return code, etc).
I mostly wanted to bring this to the attention of the community as a discussion point. If there is interest and thought around what we would like to see here, I might be able to help contribute.