diff options
author | Aleksandr <ognelisar@gmail.com> | 2017-10-19 18:16:10 +0700 |
---|---|---|
committer | Aleksandr <ognelisar@gmail.com> | 2017-10-19 18:16:10 +0700 |
commit | 0eb0f1b877237fe20069e66ca460549e5e96377c (patch) | |
tree | 806dbe37cbbfe732a334963335d61863de6f0765 /src/main/scala/xyz/driver/pdsuidomain/formats/json/sprayformats/record.scala | |
parent | e916240b94c4bf30b8d23f547b9931adb004e1e7 (diff) | |
parent | c04b779341e9d54e5b519db085420c9a1ea66610 (diff) | |
download | rest-query-0eb0f1b877237fe20069e66ca460549e5e96377c.tar.gz rest-query-0eb0f1b877237fe20069e66ca460549e5e96377c.tar.bz2 rest-query-0eb0f1b877237fe20069e66ca460549e5e96377c.zip |
Merge branch 'master' into TRIAL-55
Diffstat (limited to 'src/main/scala/xyz/driver/pdsuidomain/formats/json/sprayformats/record.scala')
-rw-r--r-- | src/main/scala/xyz/driver/pdsuidomain/formats/json/sprayformats/record.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/scala/xyz/driver/pdsuidomain/formats/json/sprayformats/record.scala b/src/main/scala/xyz/driver/pdsuidomain/formats/json/sprayformats/record.scala index eac5ea7..09517e6 100644 --- a/src/main/scala/xyz/driver/pdsuidomain/formats/json/sprayformats/record.scala +++ b/src/main/scala/xyz/driver/pdsuidomain/formats/json/sprayformats/record.scala @@ -42,13 +42,13 @@ object record { val name = fields .get("name") .map(_.convertTo[String]) - .getOrElse(deserializationError(s"Intervention type json object does not contain `name` field: $json")) + .getOrElse(deserializationError(s"Provider type json object does not contain `name` field: $json")) ProviderType .fromString(name) .getOrElse(deserializationError(s"Unknown provider type: $name")) - case _ => deserializationError(s"Expected Json Object as Intervention type, but got $json") + case _ => deserializationError(s"Expected Json Object as Provider type, but got $json") } override def write(obj: ProviderType) = |