add error handler to update subscription

This commit is contained in:
MapleLeaf
2021-12-25 14:21:46 -06:00
parent e4a46cfb51
commit 8ca9afb029

View File

@@ -29,7 +29,7 @@ export class Renderer {
constructor(private interaction: CommandInteraction) {
this.updateSubscription = this.updates
.pipe(concatMap((payload) => this.updateMessage(payload)))
.subscribe()
.subscribe({ error: console.error })
}
render() {