Skip to content

Commit 7697c10

Browse files
author
Chris Wiechmann
committed
Update APIImportConfigAdapter.java
1 parent 973d921 commit 7697c10

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/apis/src/main/java/com/axway/apim/apiimport/APIImportConfigAdapter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public APIImportConfigAdapter(String apiConfigFileName, String stage, String pat
141141
apiConfig = baseConfig;
142142
}
143143
} catch (MismatchedInputException e) {
144-
if(e.getMessage().contains("APISpecIncludeExcludeFilter>` from Object value (token `JsonToken.START_OBJECT`)")) {
144+
if(e.getMessage().contains("com.axway.apim.api.model.APISpecIncludeExcludeFilter")) {
145145
throw new AppException("An error occurred while reading the API specification filters. Please note that the filter structure has changed "
146146
+ "between version 1.8.0 and 1.9.0. You can find more information here: "
147147
+ "https://github.com/Axway-API-Management-Plus/apim-cli/wiki/2.1.10-API-Specification#filter-api-specifications", ErrorCode.CANT_READ_CONFIG_FILE, e);

0 commit comments

Comments
 (0)