Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(logs): handle log message nested extra properties #2459

Merged
merged 1 commit into from
Jan 25, 2022

Conversation

danshilm
Copy link
Collaborator

Description

Object.assign only sets the object's property's value itself, and not its nested properties (if any), therefore log messages like the ones from the Plex Scan, where the TMDb ID, IMDB ID & TVDB ID are under the mediaIds property, did not have those added as extra "data" for the log message.
This replaces the usage of Object.assign with lodash's set method.

Screenshot (if UI-related)

N/A

To-Dos

  • Successful build yarn build

Issues Fixed or Closed

  • Fixes none

@danshilm danshilm requested a review from sct as a code owner January 24, 2022 16:06
@sct sct merged commit d777940 into sct:develop Jan 25, 2022
@github-actions
Copy link

github-actions bot commented Apr 1, 2022

🎉 This PR is included in version 1.29.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants