Skip to content

Commit

Permalink
Fix failing functional tests by ensuring status is committed
Browse files Browse the repository at this point in the history
  • Loading branch information
graemerocher committed Jun 12, 2015
1 parent bb3b042 commit 5f76097
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,16 @@ trait ResponseRenderer extends WebAttributes {
}
}
}
else {
// reached here so only the status was set, just send it back
def message = argMap?.message?.toString()
if( message ) {
response.sendError( response.status, message )
}
else {
response.sendError( response.status )
}
}
}


Expand Down

0 comments on commit 5f76097

Please sign in to comment.