prints debug info even if something goes wrong with the post