Replace Connection with gen_statem by whatyouhide · Pull Request #275 · elixir-ecto/db_connection

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@josevalim I had to add this here too. From testing with ecto_sql, it turns out that raiseing here doesn't log anything for gen_statem, but it did log for Connection. I’m confused, but I also suck at OTP logging, so I’m not surprised 🙃

If you have better ideas, I’m all ears. 🙃