Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ public static void main(final String[] args) {
);
printSummary(results, options.outputPath());
} catch (final Exception ex) {
System.out.println("Benchmark failed: " + ex.getMessage());
System.err.println("Benchmark failed: " + ex.getMessage());
ex.printStackTrace();
System.exit(1);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

package com.amazon.esdk.benchmark.model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.dataformat.yaml.YAMLFactory;
Expand All @@ -13,6 +14,8 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

// Other languages share this config file and add keys Java doesn't model.
@JsonIgnoreProperties(ignoreUnknown = true)
public final class Config {

private static final Logger logger = LoggerFactory.getLogger(Config.class);
Expand Down
Loading