Skip to content

Conversation

@devoncarew
Copy link
Contributor

  • use sentence case in error message titles

This changes Exception Caught By $library to Exception caught by $library. For the stdio flutter error reporter, the error title gets uppercased - EXCEPTION CAUGHT BY RENDERING LIBRARY. For the service protocol based flutter error reporter, the case is not manipulated, and as is doesn't agree with the library name - Exception Caught By rendering library.

Copy link
Member

@goderbauer goderbauer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Surprised that this doesn't require any changes to tests. Maybe we should have a test covering that this returns what we expect?

@goderbauer goderbauer added the framework flutter/packages/flutter repository. See also f: labels. label Jul 8, 2019
@codecov
Copy link

codecov bot commented Jul 17, 2019

Codecov Report

Merging #35750 into master will decrease coverage by 0.11%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #35750      +/-   ##
==========================================
- Coverage   55.25%   55.14%   -0.12%     
==========================================
  Files         188      188              
  Lines       17426    17320     -106     
==========================================
- Hits         9629     9551      -78     
+ Misses       7797     7769      -28
Flag Coverage Δ
#flutter_tool 55.14% <0%> (-0.12%) ⬇️
Impacted Files Coverage Δ
.../flutter_tools/lib/src/commands/build_fuchsia.dart 13.63% <0%> (-68.19%) ⬇️
...ages/flutter_tools/lib/src/commands/build_aot.dart 22.85% <0%> (-12.86%) ⬇️
.../flutter_tools/lib/src/windows/windows_device.dart 32.75% <0%> (-10.35%) ⬇️
...ages/flutter_tools/lib/src/protocol_discovery.dart 86.2% <0%> (-10.35%) ⬇️
packages/flutter_tools/lib/src/cache.dart 50.9% <0%> (-8.18%) ⬇️
...tools/lib/src/fuchsia/fuchsia_kernel_compiler.dart 0% <0%> (-7.7%) ⬇️
...ackages/flutter_tools/lib/src/resident_runner.dart 37.62% <0%> (-7.56%) ⬇️
packages/flutter_tools/lib/src/ios/devices.dart 30.26% <0%> (-6.83%) ⬇️
...utter_tools/lib/src/build_system/targets/dart.dart 84.61% <0%> (-5.26%) ⬇️
...ges/flutter_tools/lib/src/fuchsia/fuchsia_sdk.dart 67.3% <0%> (-3.85%) ⬇️
... and 35 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c953cd1...3545c04. Read the comment docs.

@dnfield
Copy link
Contributor

dnfield commented Jul 17, 2019

@devoncarew will you be able to add a test for this?

@devoncarew
Copy link
Contributor Author

@devoncarew will you be able to add a test for this?

Hey, yeah, planning to.

@devoncarew
Copy link
Contributor Author

PTAL: test added, waiting for the bots to cycle green

Copy link
Contributor

@Piinks Piinks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link
Contributor

@chunhtai chunhtai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@devoncarew devoncarew merged commit 45ae4f6 into flutter:master Jul 22, 2019
johnsonmh pushed a commit to johnsonmh/flutter that referenced this pull request Jul 30, 2019
* use sentence case in error message titles

* add a test
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

framework flutter/packages/flutter repository. See also f: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants