Raise a warning in DSS custom plugin

JA
Level 1
Raise a warning in DSS custom plugin

When a python DSS plugin raises a warning this warning is not clearly visible in the DSS Job.

The python warning is only visible in the job log but won't be noticed by the user unless explicitly looking for it.

Question:

Is it possible to clearly show a warning raised in python code (by using warning.warn for example) in DSS. Similar to how a python error would be shown?

0 Kudos
1 Reply
sergeyd
Dataiker

Hi @JA 

Thanks for your question. The answer is "No", it's not possible to raise a warning for the code recipes. The job fails only when the code itself fails. 

0 Kudos