log error on console