When getting the pastes for an unknown account, the 404s and empty responses are not correctly handled. This leads to confusing exceptions about failed JSON deserialization etc.
Solution approach: Correctly handle 404s and empty responses and return an empty collection in that case.
When getting the pastes for an unknown account, the 404s and empty responses are not correctly handled. This leads to confusing exceptions about failed JSON deserialization etc.
Solution approach: Correctly handle 404s and empty responses and return an empty collection in that case.