Skip to content

Commit

Permalink
Handle Promise errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jacogr committed Aug 15, 2018
1 parent 939c474 commit d4152d7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/api-rx/src/observable/subject.ts
Expand Up @@ -49,6 +49,9 @@ export default function subscription (name: string, params: Array<any>, section:
if (unsubCallback) {
unsubCallback();
}
})
.catch((error) => {
console.error('Unsubscribe failed', error);
});
};
} catch (error) {
Expand Down

0 comments on commit d4152d7

Please sign in to comment.