Fix error handler: the first passed value is not the $http object, but
the error message already.