Conversation
|
I'm not super keen on this, since it will cause people's builds to fail if the upload API is down. I always thought of the test collectors as a best-effort service. What do you think about making this a configuration option so people could turn it on if they so wished? |
It won't fail people's build. Our uploader has logic capturing the error. It was just previously, the error reporting was never working, so we were completely in the dark about what happen in the collector. |
gchan
left a comment
There was a problem hiding this comment.
lgtm, have we considered adding a tests to verify this new functionality? I assume you have manually tested this and viewed the new log message.
|
@zhming0 ah yep I see it now, sorry for the noise! |
9bb4385 to
dc710f5
Compare
|
@gchan I added some tests. 👍🏿 |
part of PIE-2813
Fix uploader so it will throw a runtime error if backend does not return 2xx.
This will result in a log message if any upload fails.
Note it will not fail a build if the upload fails.