Skip to content

Commit 23e0da3

Browse files
committed
Use console.error to deal with error
1 parent fcfab4e commit 23e0da3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1769,7 +1769,7 @@ async function getCleanCodeArticle() {
17691769
await fileHandle.writeFile('article.html', response);
17701770
console.log('File written');
17711771
} catch(err) {
1772-
console.log(err);
1772+
console.error(err);
17731773
}
17741774
}
17751775
```

0 commit comments

Comments
 (0)