Uploaded image for project: 'Qt Quality Assurance Infrastructure'
  1. Qt Quality Assurance Infrastructure
  2. QTQAINFRA-5565

Update ci_patchbuild_bot to SafeJSONStringify objects in logging

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Not Evaluated
    • None
    • production
    • ci_patchbuild_bot
    • None

    Description

      Objects passed to Winston for logging appear in traces as [object Object]. The package "safe-json-stringify" can help with this. Be aware that non-json objects like plain strings or Exceptions will result in an empty stringified object "{}".

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              hancerliqt Burak Hancerli
              daniel.smith Daniel Smith
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes