Skip to content

Commit

Permalink
Added more info on debug logger
Browse files Browse the repository at this point in the history
  • Loading branch information
TheGrimmChester committed Nov 19, 2024
1 parent 55b0453 commit 74156c3
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,13 +142,15 @@ private function handleAsset(
]);
} catch (MissingLocaleTranslationException|MissingLocaleTranslationOrScopeException|MissingScopeException $e) {
$this->akeneoLogger->debug('Error processing asset', [
'product' => $model->getCode(),
'family_code' => $assetFamilyCode,
'attribute_code' => $attributeCode,
'asset_code' => $assetCode,
'scope' => $queryParam['scope'],
'akeneo_locale' => $akeneoLocale,
'resource' => $assetAttributeResource,
'exception' => $e->getMessage(),
'exception_type' => $e::class,
'trace' => $e->getTraceAsString(),
]);
}
Expand Down

0 comments on commit 74156c3

Please sign in to comment.