Skip to content

Commit

Permalink
Fix error logging
Browse files Browse the repository at this point in the history
  • Loading branch information
enjinabner committed Oct 16, 2024
1 parent fff121c commit 9980d13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Jobs/SyncMetadata.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function handle(MetadataService $service): void
])->find($this->attributeId)
);
} catch (Throwable $e) {
Log::error("Unable to sync metadata for attribute ID {$this->attributeId}", $e->getMessage());
Log::error("Unable to sync metadata for attribute ID {$this->attributeId}", ['error' => $e->getMessage()]);
}
}
}

0 comments on commit 9980d13

Please sign in to comment.