Skip to content

Commit b76fe0a

Browse files
committed
Add the missing input param to the error msg
1 parent 47580ed commit b76fe0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scala/src/main/scala/Osconfig.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ class CloudObjectStorage(sc: SparkContext, credentials: HashMap[String, String],
161161
val requiredValues = Array("endPoint", "accessKey", "secretKey")
162162
for ( key <- requiredValues ) {
163163
if (!credentials.contains(key)) {
164-
throw new IllegalArgumentException("Invalid input: missing required input!")
164+
throw new IllegalArgumentException("Invalid input: missing required input [" + key + "]")
165165
}
166166
}
167167

0 commit comments

Comments
 (0)