SDK-2762: Fix error handling

This commit is contained in:
Romuald Juchnowicz-Bierbasz
2019-04-30 16:58:54 +02:00
parent e53dc8f2c6
commit 7727098c6f

View File

@@ -180,8 +180,6 @@ class Server():
try:
result = await callback(*bound_args.args, **bound_args.kwargs)
self._send_response(request.id, result)
except TypeError:
self._send_error(request.id, InvalidParams())
except NotImplementedError:
self._send_error(request.id, MethodNotFound())
except JsonRpcError as error: