Skip to content

Fix order of Metro hotkey console messages#42896

Closed
EdmondChuiHW wants to merge 1 commit into
facebook:mainfrom
EdmondChuiHW:export-D53479732
Closed

Fix order of Metro hotkey console messages#42896
EdmondChuiHW wants to merge 1 commit into
facebook:mainfrom
EdmondChuiHW:export-D53479732

Conversation

@EdmondChuiHW
Copy link
Copy Markdown
Contributor

Summary:
Changelog:
[General][Fixed] Fix order of Metro hotkey console messages

Existing

Key handler is printing messages to the console after it has been processed, this causes error messages to appear before the info message.

In this PR

The info messages are logged before the event is processed.

Differential Revision: D53479732

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner labels Feb 6, 2024
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D53479732

Summary:
Changelog:
[General][Fixed] Fix order of Metro hotkey console messages

# Existing

Key handler is printing messages to the console _after_ it has been processed, this causes error messages to appear before the `info` message.

# In this PR

The `info` messages are logged before the event is processed.

Reviewed By: GijsWeterings

Differential Revision: D53479732
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D53479732

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Feb 7, 2024
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request has been merged in 635732a.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants