diff --git a/src/Collections/TerminusCollection.php b/src/Collections/TerminusCollection.php index a034b7af6..c2c427d0a 100644 --- a/src/Collections/TerminusCollection.php +++ b/src/Collections/TerminusCollection.php @@ -109,8 +109,16 @@ public function fetch() 'type' => gettype($model_data), 'bad_data' => $bad_data ]; - $this->logger->error($error_message, $context); - break; + + // verbose logging for debugging + $this->logger->debug($error_message, $context); + + // less information for more user-facing messages, but a problem has occurred and we're skipping this + // item so we should still surface a user-facing message + $this->logger->warn("Model data missing for {id}", ['id' => $id,]); + + // skip this item since it lacks useful data + continue; } if (!isset($model_data->id)) { $model_data->id = $id;