Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
connection: fix error handling in optional cbs
This commit makes error handling in methods that take optional callbacks more robust. * Fix a possible TypeError in `inspectInterface()`. * Ensure that an error is not lost in `inspectInterface()` and `callMethod()` by emitting it on the connection if there's no callback. PR-URL: #147 Reviewed-By: Mykola Bilochub <[email protected]>
- Loading branch information