Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-8689

In one place code calls log.warning instead of log.warn

    XMLWordPrintable

    Details

    • Story Points:
      0
    • Epic Link:
    • Sprint:
      Alert Production S17 - 12
    • Team:
      Alert Production

      Description

      In one place code from DM-8656 calls log.warning instead of log.warn

        Attachments

          Issue Links

            Activity

            Hide
            rowen Russell Owen added a comment - - edited

            Fixed the single incidence of calling log.warning instead of log.warn, which was in ANetBasicAstrometryTask.

            I was able to execute the code and verify that a warning was printed by hacking up the code a bit and calling testTicket-2155.py in pipe_tasks. Not ideal, but I hope good enough. It is not easy to test something this at the best of times, but it would be easier to exercise it a test in meas_algorithms actually called ANetBasicAstrometryTask.

            Show
            rowen Russell Owen added a comment - - edited Fixed the single incidence of calling log.warning instead of log.warn , which was in ANetBasicAstrometryTask . I was able to execute the code and verify that a warning was printed by hacking up the code a bit and calling testTicket-2155.py in pipe_tasks . Not ideal, but I hope good enough. It is not easy to test something this at the best of times, but it would be easier to exercise it a test in meas_algorithms actually called ANetBasicAstrometryTask .
            Hide
            Parejkoj John Parejko added a comment -

            Looks good. Thanks for the quick fix.

            Show
            Parejkoj John Parejko added a comment - Looks good. Thanks for the quick fix.

              People

              Assignee:
              rowen Russell Owen
              Reporter:
              rowen Russell Owen
              Reviewers:
              John Parejko
              Watchers:
              John Parejko, Russell Owen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  CI Builds

                  No builds found.