diff --git a/server/channels/app/channel.go b/server/channels/app/channel.go index 45986a12a57..fddedbfcb90 100644 --- a/server/channels/app/channel.go +++ b/server/channels/app/channel.go @@ -481,7 +481,7 @@ func (a *App) createDirectChannelWithUser(c request.CTX, user, otherUser *model. } if _, err := a.ShareChannel(c, sc); err != nil { - return nil, model.NewAppError("CreateDirectChannel", "app.sharedchannel.dm_channel_creation.internal_error", nil, "", http.StatusInternalServerError).Wrap(err) + c.Logger().Error("Failed to share newly created direct channel", mlog.String("channel_id", channel.Id), mlog.Err(err)) } } diff --git a/server/i18n/en.json b/server/i18n/en.json index 8b36fc4d452..7567c47c248 100644 --- a/server/i18n/en.json +++ b/server/i18n/en.json @@ -6478,10 +6478,6 @@ "id": "app.session.update_device_id.app_error", "translation": "Unable to update the device id." }, - { - "id": "app.sharedchannel.dm_channel_creation.internal_error", - "translation": "Encountered an error while creating a direct shared channel." - }, { "id": "app.status.get.app_error", "translation": "Encountered an error retrieving the status."