playframework/Play20 — comment on commit d2c0caba3c4b09784600d1a2135235b3167f3ff6
File: framework/src/play/src/main/scala/play/api/libs/openid/OpenID.scala line 67
By julienrf:

I think this code does not perform what you’d want it to perform: the thrown error will not be wrapped in a `Promise`.
You should replace it with:

```scala
case _ => throw Errors.BAD_RESPONSE
```