Added log messages for path errors