Skip to content

Commit 8993063

Browse files
authored
Merge pull request #2841 from iclanton/ianc/fix-error-case
[heft] Fix an issue where a misleading error is thrown when a subprocess requesting a ScopedLogger throws.
2 parents cb1d65a + 5874b65 commit 8993063

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

apps/heft/src/utilities/subprocess/SubprocessLoggerManager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ export class SubprocessLoggerManager extends SubprocessCommunicationManagerBase
122122
};
123123
} catch (error) {
124124
responseMessage = {
125-
type: SUBPROCESS_LOGGER_MANAGER_REQUEST_LOGGER_MESSAGE_TYPE,
125+
type: SUBPROCESS_LOGGER_MANAGER_PROVIDE_LOGGER_MESSAGE_TYPE,
126126
loggerName: typedMessage.loggerName,
127127
error: SubprocessRunnerBase.serializeForIpcMessage(
128128
error
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"changes": [
3+
{
4+
"comment": "",
5+
"type": "none",
6+
"packageName": "@rushstack/heft"
7+
}
8+
],
9+
"packageName": "@rushstack/heft",
10+
"email": "[email protected]"
11+
}

0 commit comments

Comments
 (0)