[backport] Script Execution will return exception message

Exception message returned as the result if there are any exception