Skip to content

Commit cb1bb23

Browse files
committed
Better error messages
1 parent 78b3a2d commit cb1bb23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala/de/upb/cs/swt/delphi/webapi/Server.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ object Server extends HttpApp with JsonSupport with AppLogging {
117117
complete(
118118
new SearchQuery(configuration, featureExtractor).search(query) match {
119119
case Success(result) => prettyPrint(pretty, result.toJson)
120-
case Failure(e) => e.toString
120+
case Failure(e) => e.getMessage
121121
}
122122
)
123123
}

0 commit comments

Comments
 (0)