Steps in customkeyword failed but show PASS in test report

As per screenshot, there is a step failed in customkeyword but Katalon still consider PASS because every steps in the customkeyword executed successfully.

Is there a way to force the customkeyword display as fail in the test report? otherwise this report will be misleading if not drill down and review every steps.


if(condition) {

KeywordUtil.markFailed("Failure Message")


if Katalon not interested to fix this in report, then i have to fix from my code by adding the flag to indicate the method Pass or Fail.