Try to stop server if site initialization failed - #565
Conversation
| @@ -267,6 +267,7 @@ export function SiteDetailsProvider( { children }: SiteDetailsProviderProps ) { | |||
| "Please verify your site's local path directory contains the standard WordPress installation files and try again. If this problem persists, please contact support." | |||
| ), | |||
There was a problem hiding this comment.
Yeah, good point. This could be helpful when the user contacts support and we need to debug a failure.
There was a problem hiding this comment.
Should we remove the underlying error, e.g., 'Error invoking remote method [...]'?
There was a problem hiding this comment.
Not sure about removing it as it's part of the error message, it could be helpful when debugging issues in the future. What we could do is adding a title to that part conveying that's the raw error message, so users don't get confused about the content.
|
@sejas I'm going to merge this as-is and create a new GitHub issue as a follow-up to improve the error messaging. UPDATE: Here's the issue: https://github.com/Automattic/dotcom-forge/issues/9309 |


Related to #561 (comment) and https://github.com/Automattic/dotcom-forge/issues/9257.
Proposed Changes
Testing Instructions
npm start.ln -s unknown broken-symlinkto create a broken symlink.Pre-merge Checklist