mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-08 08:58:38 +01:00
In Redux action, log error on failure to create group
This commit is contained in:
@@ -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' });
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user