Skip to content

Commit

Permalink
Print full error
Browse files Browse the repository at this point in the history
  • Loading branch information
maurelian committed Dec 10, 2019
1 parent 73e59e2 commit 64d8be5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/update_swc.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ const generateSWC = () => {
};
} catch(e) {
console.log(`[ERROR] Wrong document format: ${name}.md, provide content for all required headings`)
console.log(e)
if (command && command === 'markdown-validate') {
process.exit(1);
}
Expand Down

0 comments on commit 64d8be5

Please sign in to comment.