diff --git a/commands/fediverse/utils.js b/commands/fediverse/utils.js index a0a5993..41add17 100644 --- a/commands/fediverse/utils.js +++ b/commands/fediverse/utils.js @@ -65,7 +65,7 @@ const notifyFormatter = (res, roomId) => { sendEventWithMeta(roomId, content, meta); break; default: - throw 'Unknown notification type.'; + return console.log('Unknown notification type.'); } };