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

[bug] Test pickler upon Save #5

Open
brian-pond opened this issue Feb 14, 2024 · 0 comments
Open

[bug] Test pickler upon Save #5

brian-pond opened this issue Feb 14, 2024 · 0 comments
Assignees

Comments

@brian-pond
Copy link
Contributor

brian-pond commented Feb 14, 2024

Problem

If a Task has malformed function arguments, that can shatter the pickler at runtime. Your task will not fire. And the only logs will be held by the btu-daemon itself on the Linux host.

For example, the dictionary below is missing a comma , after False on line 2:

{
"supplier_key": "SUP-MAKR-0029",
"test_mode": False
"bcc": "[email protected], [email protected], [email protected]"
}

Idea:

Upon any BTU Task document save(), call the pickler and pass the Task ID. Make sure it returns a success.

@brian-pond brian-pond self-assigned this Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant