Commit 085f47e
Add missing await in AioHttpIntegration. (getsentry#261)
* Add missing await in AioHttpIntegration.
The replaced _handle method of aiohttp.web.Application is a coroutine
itself. So it has to await the call to the original handle otherwise its
never awaited.
This fixes getsentry#260
Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
* Add testcase to demonstrate cashing aiohttp
This demonstrates the behaviour in getsentry#260.
Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>1 parent 3f9d748 commit 085f47e
File tree
2 files changed
+20
-1
lines changed- sentry_sdk/integrations
- tests/integrations/aiohttp
2 files changed
+20
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
0 commit comments