Status was not getting set to failure due to another
failure in getting localized message not being set.
That caused a silent failure, which cascaded into
not being able to set the result of the resolution
as the status was null, and JPA didn't allow the
insertion due to table RESOURCE_RESOLUTION constraint.
Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com>
Change-Id: Iff0528ffab4ae77d0077be2edff6eb421adc68e0
return output
} catch (e: Exception) {
log.error("fail processing request id $requestId", e)
- return response(executionServiceInput, e.localizedMessage, true)
+ return response(executionServiceInput, e.localizedMessage ?: e.message ?: e.toString(), true)
}
}
return executionServiceOutput
}
-}
\ No newline at end of file
+}