Handle your errors properly

https://beehaw.org/post/447667

Handle your errors properly - Beehaw

I have been troubleshooting this script for weeks and finally found it was trying to divide by zero.

Panicking on the error is much better than letting the system work continue on an undefined behaviour (good luck with debugging if you are ignoring all assertions)!