You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have this dumb error that I do all the time and the following helps me figure out what I've done. I have a number of set up functions that I don't really care about the results and they always seem to work when i don't use await. But then the context stays open past the test and I get a bunch of "Instance was deleted" errors.
I made this update to the HTTP client and now it tells me what it was trying to do when the error occurs and it helps me find my error.
if ('message' in resBody) {
console.error('PocketIC server encountered an error', resBody.message, init.path, init.body);
throw new Error(resBody.message);
}
The text was updated successfully, but these errors were encountered:
I have this dumb error that I do all the time and the following helps me figure out what I've done. I have a number of set up functions that I don't really care about the results and they always seem to work when i don't use await. But then the context stays open past the test and I get a bunch of "Instance was deleted" errors.
I made this update to the HTTP client and now it tells me what it was trying to do when the error occurs and it helps me find my error.
The text was updated successfully, but these errors were encountered: