Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Added on August 5, 2024 4:44PM
Likes: 0
Replies: 1
Hi Folks,
As a project creation macro, output must be resultType = "JSON_OBJECT".
I want to catch some error during the execution and then return specific return messages.
Is it possible ? Something like : return json.dumps({"error": project_key})Thanks in advance.
Best
Operating system used: alma linux
Found a way with Dataiku data engineer :
Raise a ValueError explicitly in the macro code to write in the output something.