Added error as last argument to post callback Fixes #23