Cancellation Exception

  1. Summary of my problem
  • I have a big price algorithm so I do a lot of db queries
  • and sometimes I have this “CancellationException” popping up, and I don’t know why (I’m not canceling anything)
  • Take note that the process of adding a product (because, yes it comes when I add a product on my application) is very long (can take 10 seconds or more)

I couldn’t find a thread about this dart/flutter exception (except some people asking how to cancel a request, but that’s not my case). I think this exception come from “Drift”

image

PS: my debug console is empty of all error logs (don’t know why)

Sorry for the bad English, thank you for your kindness