Fixing variable

"error" is undefined, but "err" is what we really wanted to pass.  Instead of using "err" in the function call, I renamed the "err" variable to match other usages of `.sendError_()`