Comments (6)
This is a correct behavior. This test case covers the situation when the request stream or response stream raises an exception inside the iteration. When these exceptions occur, grpc.io core generates this log.
It might be possible to drop this log with a customized logger, but maybe it is not necessary?
from aiogrpc.
PS C:\QA\aiogrpc> & python c:/QA/aiogrpc/tests/server.py
Server created on ['127.0.0.1:9901']
Server started
ERROR:root:Exception calling application: TestException
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\site-packages\grpc\_server.py", line 383, in _call_behavior
return behavior(argument, context), True
File "c:/QA/aiogrpc/tests/server.py", line 40, in ExceptionMethod
raise ValueError("TestException")
ValueError: TestException
ERROR:root:Exception calling application: TestException
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\site-packages\grpc\_server.py", line 383, in _call_behavior
return behavior(argument, context), True
File "c:/QA/aiogrpc/tests/server.py", line 40, in ExceptionMethod
raise ValueError("TestException")
ValueError: TestException
Quit server
from aiogrpc.
wow I understand.~ maybe print a tip would be better~( • ̀ω•́ )✧
from aiogrpc.
Maybe we can modify the message to "Testing raising an exception inside GRPC service"?
from aiogrpc.
Feel free to create a pull request, or I can do it myself later.
from aiogrpc.
fixed by a367421
from aiogrpc.
Related Issues (11)
- error in README? HOT 1
- Add backwards compatibility to Python 3.5 HOT 5
- inteceptors HOT 5
- Add "async with" support HOT 3
- AttributeError: 'list_iterator' object has no attribute '__anext__' HOT 1
- wait_for_ready semantics HOT 1
- Error with Python3.8
- Release 1.7 and deploy to PyPi HOT 2
- async for "Future exception was never retrieved" when task cancelled
- RuntimeError: There is no current event loop in thread HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aiogrpc.