Skip to content

Commit

Permalink
removed unnecessary try catch block
Browse files Browse the repository at this point in the history
  • Loading branch information
aman19K committed Feb 21, 2024
1 parent 38ec053 commit 162259a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/contentstack-export-to-csv/src/util/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1176,7 +1176,6 @@ function handleTaxonomyErrorMsg(err) {
* @returns
*/
async function createImportableCSV(payload, taxonomies) {
try {
let taxonomiesData = [];
let headers = [];
payload['type'] = 'export-taxonomies';
Expand All @@ -1191,9 +1190,6 @@ async function createImportableCSV(payload, taxonomies) {
}

return { taxonomiesData, headers };
} catch (err) {
throw err;
}
}

/**
Expand Down

0 comments on commit 162259a

Please sign in to comment.