Rename recordSuccessMetric to reportPlatformFailures
Summary: Change from `recordSuccessMetric` to `reportPlatformFailures`, because the next diff adds `reportPluginFailures` and I want to distinguish the two. Reviewed By: passy Differential Revision: D13878380 fbshipit-source-id: 9c6b8bfe1ed2e1a8bbe5aacbec31d24e9aa39171
This commit is contained in:
committed by
Facebook Github Bot
parent
1101306249
commit
6d50843eed
@@ -12,7 +12,7 @@ import {getInstance} from '../fb-stubs/Logger';
|
||||
failure state of it, with a given name, based on whether it's fulfilled or
|
||||
rejected.
|
||||
*/
|
||||
export function recordSuccessMetric(
|
||||
export function reportPlatformFailures(
|
||||
promise: Promise<*>,
|
||||
name: string,
|
||||
): Promise<*> {
|
||||
|
||||
Reference in New Issue
Block a user