Skip to content

Commit 20d2725

Browse files
committed
better error
1 parent 9d0b28d commit 20d2725

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

backend/src/services/distribution/distribution.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ export class DistributionService {
4040
}
4141
} catch (error) {
4242
// Log but don't crash on plugin errors
43-
logger.error(`Error distributing content with plugin ${pluginName}:`, {
43+
logger.error({
4444
error,
4545
pluginName,
46-
});
46+
}, `Error distributing content with plugin ${pluginName}:`);
4747

4848
// Only throw if it's not a plugin error (system error)
4949
if (!(error instanceof PluginError)) {

curate.config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4169,7 +4169,7 @@
41694169
"config": {
41704170
"botToken": "{TELEGRAM_BOT_TOKEN}",
41714171
"channelId": "-1002519270409",
4172-
"messageThreadId": "176"
4172+
"messageThreadId": "179"
41734173
}
41744174
}
41754175
]

0 commit comments

Comments
 (0)