Skip to content

Commit 7bab7f6

Browse files
committed
cleanup
1 parent f73d659 commit 7bab7f6

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

packages/cubejs-client-core/src/index.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -843,10 +843,7 @@ class CubeApi {
843843
}
844844
} catch (error: any) {
845845
if (error.name === 'AbortError') {
846-
const message = options?.signal
847-
? 'CubeSQL streaming query was aborted'
848-
: `CubeSQL streaming query timed out after ${options?.timeout || 5 * 60 * 1000}ms`;
849-
throw new Error(message);
846+
throw new Error('aborted');
850847
}
851848
throw error;
852849
} finally {

0 commit comments

Comments
 (0)