There’s a function ic_cdk::setup
that i noticed present in the init
function when digging around in the Open Chat repo.
I checked with the brilliant @hpeebles regarding this and he explained to me that it’s for
seeing the error message in the response if a call panics
I have however noticed that I do get detailed panic messages in my responses without implementing this.
I wanted to check with @lwshang and @roman-kashitsyn if it’s considered best practice to call this method from the init method or if it’s unnecessary at this point.
Thoughts?