Skip to content
This repository was archived by the owner on Feb 1, 2022. It is now read-only.

Commit f95de49

Browse files
committed
fix: error on timeout
1 parent c417150 commit f95de49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export const ux = {
7777
})
7878
}
7979

80-
return Promise.race([p, wait(ms, true).then(() => ux.warn('timed out'))])
80+
return Promise.race([p, wait(ms, true).then(() => ux.error('timed out'))])
8181
}
8282

8383
async function flush() {

0 commit comments

Comments
 (0)