Additional error logging