mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-25 05:41:19 +00:00
fix(testing): preserve changed-gate diagnostics
This commit is contained in:
@@ -3117,7 +3117,7 @@ function prepareFullCheckoutForSync(options = {}) {
|
||||
cleanupFullCheckout(dir, active);
|
||||
active = false;
|
||||
const message = error instanceof Error ? error.message : String(error);
|
||||
throw new Error(`git bundle for changed-gate sync failed: ${message}`);
|
||||
throw new Error(`git bundle for changed-gate sync failed: ${message}`, { cause: error });
|
||||
} finally {
|
||||
if (bundleTempDir) {
|
||||
rmSync(bundleTempDir, { recursive: true, force: true });
|
||||
|
||||
Reference in New Issue
Block a user