evangipson / microstocks

Microstocks is an arcade resource gathering game written in JavaScript. Try and make the most money by selling high and buying low!
http://evangipson.com/microstocks/
1 stars 0 forks source link

Instead of just throwing exceptions and not catching, try console.error & catching! #13

Closed evangipson closed 8 years ago

evangipson commented 8 years ago

Throwing strings and not catching them is really bad for a website. I need to fix this. I'm killing my program's execution flow when I just throw without catching, as you can see in the throw page for MDN.

evangipson commented 8 years ago

This was taken care of in commit https://github.com/evangipson/microstocks/commit/17e415ef9116e71ac3d4e48361c11312cbe986a3.