adamsaghy commented on code in PR #5740:
URL: https://github.com/apache/fineract/pull/5740#discussion_r3099714800
##########
fineract-core/src/main/java/org/apache/fineract/infrastructure/core/data/ApiGlobalErrorResponse.java:
##########
@@ -152,10 +152,11 @@ public static ApiGlobalErrorResponse notImplemented(final
String globalisationMe
public static ApiGlobalErrorResponse dataIntegrityError(final String
globalisationMessageCode, final String defaultUserMessage,
final String parameterName, final Object...
defaultUserMessageArgs) {
final List<ApiParameterError> errors = new ArrayList<>();
- errors.add(ApiParameterError.parameterError(globalisationMessageCode,
defaultUserMessage, parameterName, defaultUserMessageArgs));
+ final String developerMessage = "The request caused a data integrity
issue to be fired by the database.";
Review Comment:
@alberto-art3ch Any reason for this change?
Can you please share what was the error message object before and after this
change?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]