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

  • raubarno@lemmy.ml
    link
    fedilink
    arrow-up
    5
    ·
    1 year ago

    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)!