log api urls in errors