Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

formio: Add method to return Exception type and traceback #214

Open
bobslee opened this issue Jan 26, 2023 · 0 comments
Open

formio: Add method to return Exception type and traceback #214

bobslee opened this issue Jan 26, 2023 · 0 comments
Labels
enhancement New feature or request formio (module)

Comments

@bobslee
Copy link
Member

bobslee commented Jan 26, 2023

Especially handy in serveractions which ain't allowed to read special Exception properties or importing sys to access traceback.

Approach:

  • Add class method on
    formio.builder so this can be used everywhere (website public, portal forms etc).
  • Args: the exception.
  • Return: type, traceback (str)
@bobslee bobslee added formio (module) enhancement New feature or request labels Jan 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request formio (module)
Projects
None yet
Development

No branches or pull requests

1 participant