only log errors if warning passed from API