resonate
resonate copied to clipboard
Always panic through utils.Assert
Sometimes when we encounter an intolerable error we call panic()
directly, instead we could call utils.Assert(false, ...)
that way we would have the opportunity to optionally turn off strict panicing in production.
this would be nice to expose as a flag like --strict
@guergabo I'm interested to work on this enhancement, can i work on this issue
@KannappanChida. of course. lmk if you need any help. thank you !
interesting approach at sqlite. They have different behaviors for asserts depending on the build: https://www.sqlite.org/assert.html#:~:text=In%20SQLite%2C%20the%20presence%20of,about%20the%20truth%20of%20X.
@KannappanChida - curious if you are still interested in working on this?