Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log error messages in the dashboard #2927

Merged
merged 3 commits into from
Aug 9, 2022

Conversation

felipeelia
Copy link
Member

Description of the Change

After #2748, fatal error messages are correctly displayed in WP-CLI. This PR makes an adjustment so it is also displayed in the Sync Dashboard.

Closes #2922

How to test the Change

In an installation with a big number of posts, set max_execution_time = 1 in an ini file and run the sync via the dashboard.

Changelog Entry

Fixed - Display fatal error messages in the Sync Dashboard

Credits

Props @felipeelia @orasik

@felipeelia felipeelia added this to the 4.3.0 milestone Aug 4, 2022
@felipeelia felipeelia requested a review from JakePT August 4, 2022 15:44
assets/js/sync/index.js Outdated Show resolved Hide resolved
@JakePT JakePT assigned felipeelia and unassigned JakePT Aug 9, 2022
@felipeelia felipeelia requested a review from JakePT August 9, 2022 11:59
@felipeelia felipeelia assigned JakePT and unassigned felipeelia Aug 9, 2022
@JakePT JakePT assigned felipeelia and unassigned JakePT Aug 9, 2022
@felipeelia felipeelia merged commit 6ba20ca into develop Aug 9, 2022
@felipeelia felipeelia deleted the fix/output-sync-error-in-dashboard branch August 9, 2022 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: Wrong error message
2 participants