( )⚙ D443 fastlog: use ui.log() instead of ui.warn()

This is an archive of the discontinued Mercurial Phabricator instance.

fastlog: use ui.log() instead of ui.warn()
ClosedPublic

Authored by stash on Aug 18 2017, 12:43 PM.
Tags
None
Subscribers
None

Details

Reviewers
quark
Group Reviewers
Restricted Project
Commits
rFBHGXecc4c4abe485: fastlog: use ui.log() instead of ui.warn()
Summary

ui.warn() just prints to the stderr. It has two disadvantages:

  1. Distracts a user
  2. Doesn't notify us about the problem.

Let's use ui.log() that will send result to our logging system

Test Plan

Run unit-tests

Diff Detail

Repository
rFBHGX Facebook Mercurial Extensions
Branch
default
Lint
Lint OK
Unit
Unit Tests OK

Event Timeline

stash created this revision.Aug 18 2017, 12:43 PM
quark accepted this revision.Aug 18 2017, 2:32 PM
This revision is now accepted and ready to land.Aug 18 2017, 2:32 PM
This revision was automatically updated to reflect the committed changes.