MDEV-6567: Raw debug output in the error log.

Removed raw debug output when no error on OS operation has not happened.