Skip to content

Commit

Permalink
[FIX] Prune Message issue (#24424)
Browse files Browse the repository at this point in the history
Co-authored-by: Debdut Chakraborty <debdut.chakraborty@rocket.chat>
  • Loading branch information
nishant23122000 and debdutdeb authored Mar 11, 2022
1 parent 7cfefdb commit 8e87c25
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ const PruneMessagesWithData = ({ rid, tabBar }) => {
closeModal();
reset();
} catch (error) {
dispatchToastMessage({ type: 'error', message: error });
dispatchToastMessage({ type: 'error', message: error.message });
closeModal();
}
});
Expand Down

0 comments on commit 8e87c25

Please sign in to comment.