add error handler to update subscription
This commit is contained in:
@@ -29,7 +29,7 @@ export class Renderer {
|
|||||||
constructor(private interaction: CommandInteraction) {
|
constructor(private interaction: CommandInteraction) {
|
||||||
this.updateSubscription = this.updates
|
this.updateSubscription = this.updates
|
||||||
.pipe(concatMap((payload) => this.updateMessage(payload)))
|
.pipe(concatMap((payload) => this.updateMessage(payload)))
|
||||||
.subscribe()
|
.subscribe({ error: console.error })
|
||||||
}
|
}
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
|
|||||||
Reference in New Issue
Block a user