SERVER-9005 fix get_last_error.js for debug builds