Skip to content

Commit 6c077e1

Browse files
committed
fix: subject are missing
1 parent eb0c7ca commit 6c077e1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/frameworks/shared/decorators/logged-message-pattern.decorator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export function LoggedMessagePattern(
2727

2828
// Log registration
2929
log.info(
30-
`Registering message pattern for messageType: ${messageType} in class: ${className}`,
30+
`Registering message pattern for subject: ${subject} in class: ${className}`,
3131
);
3232

3333
// Apply the CollectMethod decorator if description is provided

src/modules/messaging/domain/usecases/handlers/system-control.handler.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,7 @@ export class SystemControlHandler extends MessagingHandler {
250250
name: control.name,
251251
description: control.description,
252252
handler: handlerType,
253+
subject: SubjectFactory.buildSubject(handlerType, control.name),
253254
}),
254255
);
255256
}

0 commit comments

Comments
 (0)