Raise an appropriate exception, mapped to a 400 error for signals
to resources which cannot handle signals. In this case, the request
is inherently impossible to satisfy, because the plugin doesn't
support signals, so we should alert the user to this by saying it's
a bad request (rather than the current response which is a 500 error)
Reviewed: https:/ /review. openstack. org/109096 /git.openstack. org/cgit/ openstack/ heat/commit/ ?id=0909340b4ce 49f25a8d858be9b b081fd163a4dab
Committed: https:/
Submitter: Jenkins
Branch: master
commit 0909340b4ce49f2 5a8d858be9bb081 fd163a4dab
Author: Steven Hardy <email address hidden>
Date: Wed Jul 23 20:48:51 2014 +0100
Appropriate exception for signal handling failure
Raise an appropriate exception, mapped to a 400 error for signals
to resources which cannot handle signals. In this case, the request
is inherently impossible to satisfy, because the plugin doesn't
support signals, so we should alert the user to this by saying it's
a bad request (rather than the current response which is a 500 error)
Change-Id: I8e47ee94e15309 f378f62f2a9f653 4a4eeddb389
Closes-Bug: #1346849