| Index: pkg/json_rpc_2/lib/src/exception.dart
|
| diff --git a/pkg/json_rpc_2/lib/src/exception.dart b/pkg/json_rpc_2/lib/src/exception.dart
|
| index fb1cd2fcee70caed2fb4ac1d04a7501685a67209..be9c2d3e2e5ed3c025185eded901fd8fbcfc6a11 100644
|
| --- a/pkg/json_rpc_2/lib/src/exception.dart
|
| +++ b/pkg/json_rpc_2/lib/src/exception.dart
|
| @@ -52,6 +52,8 @@ class RpcException implements Exception {
|
| modifiedData['request'] = request;
|
| } else if (data == null) {
|
| modifiedData = {'request': request};
|
| + } else {
|
| + modifiedData = data;
|
| }
|
|
|
| var id = request is Map ? request['id'] : null;
|
|
|