File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
marklogic-data-hub/src/main/java/com/marklogic/hub/step/impl
ml-data-hub-plugin/src/main/groovy/com/marklogic/gradle/task Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -308,7 +308,7 @@ public RunStepResponse run() {
308308 }
309309 if (fileLocations .get ("separator" ) != null ) {
310310 if (! this .inputFileType .equalsIgnoreCase ("csv" )){
311- throw new IllegalArgumentException ("Invalid argument for file type " + inputFileType );
311+ throw new IllegalArgumentException ("Invalid argument for file type " + inputFileType + ". When specifying a separator, the file type must be 'csv'" );
312312 }
313313 this .separator = fileLocations .get ("separator" ).trim ();
314314 if (separator .equals ("\\ t" )) {
Original file line number Diff line number Diff line change @@ -187,7 +187,7 @@ class RunFlowTask extends HubTask {
187187 }
188188 if (separator != null ) {
189189 if (inputFileType != null && ! inputFileType. equalsIgnoreCase(" csv" )) {
190- throw new IllegalArgumentException (" Invalid argument for file type " + inputFileType)
190+ throw new IllegalArgumentException (" Invalid argument for file type " + inputFileType + " . When specifying a separator, the file type must be 'csv' " )
191191 }
192192 runFlowString. append(" \n\t\t Separator:" + separator. toString())
193193 fileLocations. put(" separator" , separator)
You can’t perform that action at this time.
0 commit comments