- Added error logging