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
Branches
Tags
1 merge request!544optimized logging for warning message
Pipeline #185293 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