• Troy@lemmy.ca
    link
    fedilink
    arrow-up
    45
    ·
    2 months ago

    Damn. Need to wrap that whole bar in a try: except: that just silently fails. Solves all the issues and you go to another bar.

    • thenextguy@lemmy.world
      link
      fedilink
      arrow-up
      28
      ·
      2 months ago

      In my experience silently failing just leaves you standing there waiting for your beer forever, or until someone reboots the universe.

    • i_stole_ur_taco@lemmy.ca
      link
      fedilink
      arrow-up
      17
      ·
      2 months ago

      “But if it silently fails then we won’t know there’s a problem until a customer reports it and we go looking for it!”

      Yes, and that could be weeks before it becomes my problem again!

      • taladar@sh.itjust.works
        link
        fedilink
        arrow-up
        8
        ·
        2 months ago

        And weeks later, after that change has been rolled out to all the bars, the engineer now has to travel to every single one of them to fix it.