fac24 / week3-alex-bereket-hallie-peter

https://afternoon-mesa-46889.herokuapp.com/
1 stars 1 forks source link

throw error => catch error will be nice #20

Open minju25kim opened 2 years ago

minju25kim commented 2 years ago

https://github.com/fac24/week3-alex-bereket-hallie-peter/blob/d217cd163d5b6025ba85217220e1c75404c6cef3/auth.js#L27

https://github.com/fac24/week3-alex-bereket-hallie-peter/blob/d217cd163d5b6025ba85217220e1c75404c6cef3/auth.js#L34

as new error was thrown? on line above, catch handler will handle if there was any error.