GNServer 0.0.0.0.45__tar.gz → 0.0.0.0.46__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {gnserver-0.0.0.0.45 → gnserver-0.0.0.0.46}/GNServer/GNServer/_client.py +7 -2
- {gnserver-0.0.0.0.45 → gnserver-0.0.0.0.46}/GNServer/GNServer.egg-info/PKG-INFO +1 -1
- {gnserver-0.0.0.0.45 → gnserver-0.0.0.0.46}/PKG-INFO +1 -1
- {gnserver-0.0.0.0.45 → gnserver-0.0.0.0.46}/setup.py +1 -1
- {gnserver-0.0.0.0.45 → gnserver-0.0.0.0.46}/GNServer/GNServer/__init__.py +0 -0
- {gnserver-0.0.0.0.45 → gnserver-0.0.0.0.46}/GNServer/GNServer/_app.py +0 -0
- {gnserver-0.0.0.0.45 → gnserver-0.0.0.0.46}/GNServer/GNServer/_cors_resolver.py +0 -0
- {gnserver-0.0.0.0.45 → gnserver-0.0.0.0.46}/GNServer/GNServer/_crt.py +0 -0
- {gnserver-0.0.0.0.45 → gnserver-0.0.0.0.46}/GNServer/GNServer/_func_params_validation.py +0 -0
- {gnserver-0.0.0.0.45 → gnserver-0.0.0.0.46}/GNServer/GNServer/_routes.py +0 -0
- {gnserver-0.0.0.0.45 → gnserver-0.0.0.0.46}/GNServer/GNServer/_template_resolver.py +0 -0
- {gnserver-0.0.0.0.45 → gnserver-0.0.0.0.46}/GNServer/GNServer.egg-info/SOURCES.txt +0 -0
- {gnserver-0.0.0.0.45 → gnserver-0.0.0.0.46}/GNServer/GNServer.egg-info/dependency_links.txt +0 -0
- {gnserver-0.0.0.0.45 → gnserver-0.0.0.0.46}/GNServer/GNServer.egg-info/requires.txt +0 -0
- {gnserver-0.0.0.0.45 → gnserver-0.0.0.0.46}/GNServer/GNServer.egg-info/top_level.txt +0 -0
- {gnserver-0.0.0.0.45 → gnserver-0.0.0.0.46}/GNServer/LICENSE +0 -0
- {gnserver-0.0.0.0.45 → gnserver-0.0.0.0.46}/GNServer/mmbConfig.json +0 -0
- {gnserver-0.0.0.0.45 → gnserver-0.0.0.0.46}/LICENSE +0 -0
- {gnserver-0.0.0.0.45 → gnserver-0.0.0.0.46}/MANIFEST.in +0 -0
- {gnserver-0.0.0.0.45 → gnserver-0.0.0.0.46}/setup.cfg +0 -0
@@ -250,8 +250,13 @@ class AsyncClient:
|
|
250
250
|
devLog(request, '1.1.2', 10, 'Request is GNRequest')
|
251
251
|
|
252
252
|
request = await self._resolve_requests_transport(request)
|
253
|
-
|
254
|
-
|
253
|
+
try:
|
254
|
+
c = await self.connect(request, restart_connection, reconnect_wait, keep_alive=keep_alive)
|
255
|
+
except Exception as e:
|
256
|
+
if isinstance(e, GNResponse):
|
257
|
+
return e
|
258
|
+
else:
|
259
|
+
return GNResponse('error')
|
255
260
|
devLog(request, '1.1.3', 10, f'Connected: {c.status}')
|
256
261
|
|
257
262
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|