diff --git a/graphql/execution/executors/asyncio_utils.py b/graphql/execution/executors/asyncio_utils.py index 9c8f88da..48cea448 100644 --- a/graphql/execution/executors/asyncio_utils.py +++ b/graphql/execution/executors/asyncio_utils.py @@ -1,3 +1,4 @@ +import logging from asyncio import ensure_future, CancelledError from rx import AnonymousObservable @@ -26,4 +27,5 @@ async def iterate_asyncgen(asyncgen, observer): except CancelledError: pass except Exception as e: + logging.exception(e) observer.on_error(e)