• 4
    catch (Exception e) {
  • 2

    except Exception as e:
  • 1
    from contextlib import suppress

    with suppress(Exception):
  • 1
    @julkali then IntelliJ is going to tell me about the empty catch block 🤣 You can't win... Unless you rename your exception to "ignored"
  • 3
    @kshep92 or comment //ignore
  • 1
    I just ignore exceptions in my webapps because it either means there was a connection error and it will sort itself out as soon as the connection becomes stable again or it would just say "INTERNAL" and the exception is already logged on the server 🤷😇
  • 3
    The only line in catch block, e.printStackTrace()
  • 1
    @ladiesman I know. 😑
  • 0
    We swallow
Add Comment