feat(core): add typed policy and integrity contracts
This commit is contained in:
@@ -174,7 +174,10 @@ const cleanupFailedStartup = async (options: {
|
||||
sampledProcessGroupIds: [],
|
||||
});
|
||||
if (cleanupFailure !== undefined)
|
||||
throw new ProcessCaptureError(cleanupFailure, { cause: options.cause });
|
||||
throw new ProcessCaptureError(cleanupFailure, {
|
||||
cause: options.cause,
|
||||
reason: "cleanup_incomplete",
|
||||
});
|
||||
throw options.cause;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user