invalid yaml like the following (num2 has no :) causes a 500 error. This exception should be caught and raised as a proper Dioptra error.
aaa:
task: multiply_numbers
kwargs:
num1: $num1
num2
The likely fix is to add a try except w. re-reraise around entrypoints/service.py", line 1720, in validate
swaps_yaml = yaml.safe_load(swaps_graph)
invalid yaml like the following (num2 has no
:) causes a 500 error. This exception should be caught and raised as a proper Dioptra error.The likely fix is to add a try except w. re-reraise around entrypoints/service.py", line 1720, in validate