Created
September 6, 2022 13:10
-
-
Save iamrony777/e883c83fac03f794521e1e2209adb5c8 to your computer and use it in GitHub Desktop.
HTTPExcetion not working , instead of 401 status , its showing 200
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javinfo-api | api | --- Logging error in Loguru Handler #1 --- | |
javinfo-api | api | Record was: None | |
javinfo-api | api | --- Logging error in Loguru Handler #2 --- | |
javinfo-api | api | Record was: None | |
javinfo-api | api | Traceback (most recent call last): | |
javinfo-api | api | File "/usr/local/lib/python3.10/site-packages/loguru/_handler.py", line 272, in _queued_writer | |
javinfo-api | api | message = queue.get() | |
javinfo-api | api | File "/usr/local/lib/python3.10/multiprocessing/queues.py", line 367, in get | |
javinfo-api | api | return _ForkingPickler.loads(res) | |
javinfo-api | api | TypeError: HTTPException.__init__() missing 1 required positional argument: 'status_code' | |
javinfo-api | api | Traceback (most recent call last): | |
javinfo-api | api | --- End of logging error --- | |
javinfo-api | api | File "/usr/local/lib/python3.10/site-packages/loguru/_handler.py", line 272, in _queued_writer | |
javinfo-api | api | message = queue.get() | |
javinfo-api | api | File "/usr/local/lib/python3.10/multiprocessing/queues.py", line 367, in get | |
javinfo-api | api | return _ForkingPickler.loads(res) | |
javinfo-api | api | TypeError: HTTPException.__init__() missing 1 required positional argument: 'status_code' | |
javinfo-api | api | --- End of logging error --- | |
javinfo-api | api | INFO: 10.20.74.80:58324 - "POST /endpoint HTTP/1.1" 200 OK |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment