Anvil Community Forum

[Fixed] Anvil.js.report_exceptions - suspension error

Oh, that’s cool. Did know that was there.

Unfortunately I getting this now:

SuspensionError: Cannot call a function that blocks or suspends here

at the line where I added the decorator.

1 Like

So it does - we’ll get that fixed.
(split the topics and moved this part to bug reports).

I’ll update this thread when it gets fixed.

As a workaround - if you import functools at the top of the module it should work again.

1 Like

Can confirm that the workaround works. Thanks!

2 Likes

This should now be fixed - we’ve removed the reliance on functools.

2 Likes