Fixed a typo that caused an error when logging debug information.