From 2cd29e1b633bbc3843442b10c716c19bdf717756 Mon Sep 17 00:00:00 2001 From: Evan Hahn <69474926+EvanHahn-Signal@users.noreply.github.com> Date: Wed, 10 Mar 2021 18:32:13 -0600 Subject: [PATCH] In Redux action, log error on failure to create group --- ts/state/ducks/conversations.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ts/state/ducks/conversations.ts b/ts/state/ducks/conversations.ts index 93280c47f4..ac3eb1dec0 100644 --- a/ts/state/ducks/conversations.ts +++ b/ts/state/ducks/conversations.ts @@ -748,6 +748,10 @@ function createGroup(): ThunkAction< switchToAssociatedView: true, })(dispatch, getState, ...args); } catch (err) { + window.log.error( + 'Failed to create group', + err && err.stack ? err.stack : err + ); dispatch({ type: 'CREATE_GROUP_REJECTED' }); } };