• killeronthecorner@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 day ago

    It will be where the error happened if you conventionally pass your errors to a logger that then prints the stack trace, which is virtually what Python et. al. are doing anyway.

    Go is not a language I’m a huge fan of tbh, but this mild inconvenience is not one of the things I would criticise it for. What you’re describing w.r.t control flow for errors absolutely is though.