LOG traceback on TypeError for POST
LOG traceback on TypeError for POST

If a TypeError is raised previously we should just return 501 and
not log anything. This patch includes a log statement with the trace
that caused the TypeError.

Change-Id: Ic9353f3a8d6cde0ae386992330c11dbd648fc5ba

ramineni/my_congress,openstack/congress,ramineni/my_congress,ramineni/my_congress,ekcs/congress,openstack/congress,ekcs/congress,ekcs/congress,ekcs/congress,ramineni/my_congress