It works for most requests, but in one case it fails. I can see that p is a promise, and I know that the requestTo method returned the correct payload, but when we yield for it we never get to the next line (handleResponse). We also don't get to the catch, and no errors are thrown. The strange part is that it only fails for a production ember build, it works fine when building for development. I disabled ember-cli-uglify, but we definitely compile for a different set of browsers. I can't think of what would be different, unless maybe it's a babel transpilation issue?
Just updated to Ember 3.15.1, and I have some ember-concurrency code that is not working as before:
It works for most requests, but in one case it fails. I can see that
p
is a promise, and I know that therequestTo
method returned the correct payload, but when weyield
for it we never get to the next line (handleResponse
). We also don't get to the catch, and no errors are thrown. The strange part is that it only fails for a production ember build, it works fine when building for development. I disabledember-cli-uglify
, but we definitely compile for a different set of browsers. I can't think of what would be different, unless maybe it's a babel transpilation issue?