This is my first time doing a custom extention or tool. I was doing a tool for pipe tags, very simple. At the first it work well it was giving me a window but after a few tries it started giving me this window and I tried everything. I uninstalled and installed again and is just not working.
I reported this bug last week and it looks like its been addressed in a recent PR so should be fixed in the next release hopefully. (PR #3477). For now you can import the traceback module. Wrap your code in a try / except and in the except block print traceback.format_exc()