Skip to content

Commit

Permalink
Remove error cause because of incompatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
JulienVig committed Feb 8, 2024
1 parent 2b880ae commit ac3b5d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion discojs/discojs-core/src/dataset/data/tabular_data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ export class TabularData extends Data {
try {
await dataset.iterator()
} catch (e) {
throw new Error('Data input format is not compatible with the chosen task.', { cause: e })
console.error('Data input format is not compatible with the chosen task.')
throw (e)
}

return new TabularData(dataset, task, size)
Expand Down

0 comments on commit ac3b5d3

Please sign in to comment.