fix(feed): don't throw on unknown notification types.
This commit is contained in:
parent
58ef31356a
commit
14006d9209
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ const notifyFormatter = (res, roomId) => {
|
|||
sendEventWithMeta(roomId, content, meta);
|
||||
break;
|
||||
default:
|
||||
throw 'Unknown notification type.';
|
||||
return console.log('Unknown notification type.');
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue