Add bucket and key info to map function error logging