0.1: add error handler when HTTP request fail