Skip to content

Commit 8779296

Browse files
committed
fix: properly propagate errors in openDiff for GUI editors
1 parent 2d5b6d4 commit 8779296

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/core/src/utils/editor.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,5 +225,6 @@ export async function openDiff(
225225
}
226226
} catch (error) {
227227
console.error(error);
228+
throw error;
228229
}
229230
}

0 commit comments

Comments
 (0)