Skip to content

Commit

Permalink
bugfix(v3.9.3)
Browse files Browse the repository at this point in the history
remove stack in log
  • Loading branch information
4xel committed Dec 8, 2024
1 parent 330bd84 commit 3ed93af
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/websocket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import WebSocket from 'ws';
import {ResolumeArenaConfig} from './config-fields.js';
import {ResolumeArenaModuleInstance} from './index.js';
import {compositionState, parameterStates} from './state.js';
import {stack} from 'qunit';

export interface MessageSubscriber {
messageUpdates(data: {path: string; value: string | boolean | number}, isComposition: boolean): void;
Expand Down Expand Up @@ -252,8 +251,8 @@ export class WebsocketInstance {
}

subscribeParam(paramId: number, subPath?: string) {
if (paramId === undefined) {
this.resolumeArenaInstance.log('warn', 'paramId should not be undefined' + stack());
if (!paramId) {
this.resolumeArenaInstance.log('warn', 'paramId should not be undefined');
return;
}
const data = {
Expand Down

0 comments on commit 3ed93af

Please sign in to comment.