Merge "Add better error logging for DB getLag() calls"