rabbah commented on a change in pull request #2218: Port Controller from Spray 
to Akka
URL: 
https://github.com/apache/incubator-openwhisk/pull/2218#discussion_r130363710
 
 

 ##########
 File path: common/scala/src/main/scala/whisk/http/ErrorResponse.scala
 ##########
 @@ -168,7 +168,7 @@ case class ErrorResponse(error: String, code: 
TransactionId)
 /** Custom rejection, wraps status code for response and a cause. */
 case class CustomRejection private (status: StatusCode, cause: String) extends 
Rejection
 
-object ErrorResponse extends Directives {
+object ErrorResponse extends Directives with DefaultJsonProtocol {
 
 Review comment:
   do you know why the json serdes is required here?
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to