Skip to content
Snippets Groups Projects
Commit 8392adf0 authored by Larissa Pereira's avatar Larissa Pereira
Browse files

optimized logging for warning message

parent e33bb349
No related branches found
No related tags found
1 merge request!544optimized logging for warning message
Checking pipeline status
......@@ -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.
Finish editing this message first!
Please register or to comment