Skip to content
Snippets Groups Projects
Commit a82c98ee authored by Neelesh Thakur's avatar Neelesh Thakur
Browse files

Merge branch 'optimize-logging' into 'master'

optimized logging for warning message

See merge request !544
parents e33bb349 8392adf0
Branches
No related tags found
1 merge request!544optimized logging for warning message
Pipeline #185520 failed
......@@ -201,7 +201,7 @@ public class StorageIndexerPayloadMapper {
} catch (NoSuchMethodException e) {
this.log.warning(String.format("record-id: %s | error fetching property: %s | error: %s", recordId, propertyKey, e.getMessage()));
} catch (IllegalArgumentException | IllegalAccessException | InvocationTargetException e) {
this.log.warning(String.format("record-id: %s | error fetching property: %s | error: %s", recordId, propertyKey, e.getMessage()), e);
this.log.warning(String.format("record-id: %s | error fetching property: %s | error: %s", recordId, propertyKey, e.getMessage()));
}
return null;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment