Removed error log call