Skip to content

Commit

Permalink
fix: Re-throw errors in watch_files/copy_files processes
Browse files Browse the repository at this point in the history
  • Loading branch information
bencergazda committed Oct 8, 2021
1 parent a8edea1 commit af01dad
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/bin/tscp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ async function command() {
}
})
.catch((e) => {
console.error('Something went wrong during watching the non-typescript files', '\n', e);
console.error('Something went wrong during watching the non-typescript files');
throw e;
});
}

Expand All @@ -34,7 +35,8 @@ async function command() {
}
})
.catch((e) => {
console.error('Something went wrong during the copy of the non-typescript files', '\n', e);
console.error('Something went wrong during the copy of the non-typescript files');
throw e;
});
}

Expand Down

0 comments on commit af01dad

Please sign in to comment.