infinitescroll: using logger to log errors

Also restricting it to only things that are instanceof Error, which allows
normal flow control by throwing anything that's not instanceof Error