Don't depend on string variable when logging a debug message. (This may be an indicator of a bug elsewhere.)