Skip to content

Commit

Permalink
fix(store): throw error from room creation to handle in component
Browse files Browse the repository at this point in the history
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
  • Loading branch information
Antreesy authored and backportbot[bot] committed Dec 13, 2024
1 parent 4b36d61 commit f6e78fa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/store/conversationsStore.js
Original file line number Diff line number Diff line change
@@ -963,8 +963,7 @@ const actions = {
context.dispatch('addConversation', conversation)
return conversation.token
} catch (error) {
console.error('Error creating new group conversation: ', error)
return ''
return Promise.reject(error)
}
},

0 comments on commit f6e78fa

Please sign in to comment.