Fix bad syntax in error message
Hack around a bug preventing users from syncing with the blockchain when logging is enabled. #688