Skip to content

Commit 808c045

Browse files
refactor: do not throw on serverSideEmit() call
Related: #75
1 parent 6c21bce commit 808c045

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ export class Adapter extends EventEmitter {
327327
* @param packet - an array of arguments, which may include an acknowledgement callback at the end
328328
*/
329329
public serverSideEmit(packet: any[]): void {
330-
throw new Error(
330+
console.warn(
331331
"this adapter does not support the serverSideEmit() functionality"
332332
);
333333
}

0 commit comments

Comments
 (0)