@debugg-ai/debugg-ai-mcp 1.0.50 → 1.0.51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/utils/gitContext.js +1 -1
- package/dist/utils/logger.js +3 -1
- package/package.json +1 -1
package/dist/utils/gitContext.js
CHANGED
package/dist/utils/logger.js
CHANGED
|
@@ -23,14 +23,16 @@ const createLogger = () => {
|
|
|
23
23
|
stderrLevels: ['error', 'warn', 'info', 'debug'],
|
|
24
24
|
}),
|
|
25
25
|
],
|
|
26
|
-
// Ensure uncaught exceptions and rejections
|
|
26
|
+
// Ensure uncaught exceptions and rejections go to stderr (NOT stdout — stdout is the MCP transport)
|
|
27
27
|
exceptionHandlers: [
|
|
28
28
|
new winston.transports.Console({
|
|
29
|
+
stderrLevels: ['error', 'warn', 'info', 'debug'],
|
|
29
30
|
format: winston.format.combine(winston.format.timestamp(), winston.format.errors({ stack: true }), winston.format.json()),
|
|
30
31
|
}),
|
|
31
32
|
],
|
|
32
33
|
rejectionHandlers: [
|
|
33
34
|
new winston.transports.Console({
|
|
35
|
+
stderrLevels: ['error', 'warn', 'info', 'debug'],
|
|
34
36
|
format: winston.format.combine(winston.format.timestamp(), winston.format.errors({ stack: true }), winston.format.json()),
|
|
35
37
|
}),
|
|
36
38
|
],
|