Adding error logging for POST errors

Super basic and ghetto error logging for POSt errors. This should help us debug the 400 errors we are getting.