File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
async_substrate_interface Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -326,6 +326,12 @@ async def process_events(self):
326326 "name" : "Other" ,
327327 "docs" : "Unspecified error occurred" ,
328328 }
329+ elif "Token" in dispatch_error :
330+ self .__error_message = {
331+ "type" : "System" ,
332+ "name" : "Token" ,
333+ "docs" : dispatch_error ["Token" ]
334+ }
329335
330336 elif not has_transaction_fee_paid_event :
331337 if (
Original file line number Diff line number Diff line change @@ -293,6 +293,12 @@ def process_events(self):
293293 "name" : "Other" ,
294294 "docs" : "Unspecified error occurred" ,
295295 }
296+ elif "Token" in dispatch_error :
297+ self .__error_message = {
298+ "type" : "System" ,
299+ "name" : "Token" ,
300+ "docs" : dispatch_error ["Token" ]
301+ }
296302
297303 elif not has_transaction_fee_paid_event :
298304 if (
You can’t perform that action at this time.
0 commit comments