2016-03-08 06:44:21 |
Rahul U Nair |
description |
The rpc client will recreate exception instance if the exception of remote calling happens. But, the recreating will failed, we will get an error : "__init__() got multiple values for keyword argument message". Because the arguments given to __init__ of CinderException are like this: __init__("some message", **{'message' : "some message", 'code' : 500}). |
The rpc client will recreate exception instance if the exception of remote calling happens. But, recreating will fail, we will get an error : "__init__() got multiple values for keyword argument message". Because the arguments given to __init__ of CinderException are like this: __init__("some message", **{'message' : "some message", 'code' : 500}). |
|