Skip to content

Commit 69e462b

Browse files
Update libs/hooks/debounce/src/lib/debounce-hook.ts
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: Todd Baert <[email protected]>
1 parent ce32d2f commit 69e462b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/hooks/debounce/src/lib/debounce-hook.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ export class DebounceHook<T extends FlagValue = FlagValue> implements Hook {
161161
const cachedStageResult = got[stage];
162162
// throw cached errors
163163
if (cachedStageResult instanceof CachedError) {
164-
throw got;
164+
throw cachedStageResult;
165165
}
166166
if (cachedStageResult === true) {
167167
// already ran this stage for this key and is still in the debounce period

0 commit comments

Comments
 (0)