Files
swift-nio/Sources
Daniel Dunbar d31f4a249a [EventLoopFuture] Ensure client #file/#line are forwarded in mapIfError. (#533)
Motivation:

This ensures that the client's context information will be propagated into
the promise which is implicitly created by thenIfError(). Without this, if
that promise leaked the client would only see information about where it was
allocated inside of NIO, which is not helpful.

Modifications:

Propagate #file/#line.

Result:

Client's will see a #file/#line in their code, rather than something like:

```
Fatal error: leaking promise created at (file: ".../.build/checkouts/swift-nio.git-bla/Sources/NIO/EventLoopFuture.swift", line: 583)
```
2018-07-31 08:42:27 +01:00
..
2018-06-09 18:18:24 -07:00
2017-12-15 09:50:12 +00:00
2018-03-19 14:45:32 +01:00