Skip to content

Commit da7d62c

Browse files
committed
console err instead of log
1 parent 6ab29ab commit da7d62c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sprint-3/1-implement-and-rewrite-tests/implement/3-get-card-value.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ try {
4848
// This line will not be reached if an error is thrown as expected
4949
console.error("Error was not thrown for invalid card 😢");
5050
} catch (e) {
51-
console.log("Error thrown for invalid card 🎉");
51+
console.error("Error thrown for invalid card 🎉");
5252
}
5353

5454
// What other invalid card cases can you think of?

0 commit comments

Comments
 (0)