Skip to content

Commit

Permalink
Fix engine build
Browse files Browse the repository at this point in the history
  • Loading branch information
OhKai committed Dec 3, 2024
1 parent 1749bd6 commit 7eeed54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine/universal/core/src/messaging-setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ module.exports = {

logging.registerCallback(async (obj, log) => {
try {
if (!logGuard(log?.level)) return;
if (!logGuard(log && log.level)) return;

const sentMessages = [];
const print = `[${log.level.toUpperCase()}] ${log.moduleName}${obj.definitionId || ''} ${log.msg}`;
Expand Down

0 comments on commit 7eeed54

Please sign in to comment.