• Troy@lemmy.ca
    link
    fedilink
    arrow-up
    44
    ·
    11 days 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
      27
      ·
      11 days 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
      ·
      11 days 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
        ·
        11 days 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.