Catch errors while subscribing (#385)

This commit is contained in:
Jaco Greeff
2018-11-08 13:56:51 +01:00
committed by GitHub
parent ff635c7476
commit 49136de47b
2 changed files with 15 additions and 13 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ export default class Rpc implements RpcInterface {
return `${method} (${inputs}): ${type}`;
}
private createInterface ({ methods, section }: RpcSection): RpcInterface$Section {
private createInterface ({ methods }: RpcSection): RpcInterface$Section {
return Object
.keys(methods)
.reduce((exposed, method) => {