-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -77,12 +77,13 @@ export async function runPreviewServer({ | |
await downloadBundle({ bucketUrl: url, logger: context.logger, preferCached: true }); | ||
} catch (err) { | ||
const pathToBundle = getPathToBundleFolder(); | ||
if (err instanceof Error) { | ||
context.logger.debug(`Failed to download latest docs bundle: ${(err as Error).message}`); | ||
} | ||
if (await doesPathExist(pathToBundle)) { | ||
context.logger.warn("Failed to download latest docs application. Falling back to existing bundle."); | ||
context.logger.warn("Falling back to cached bundle..."); | ||
} else { | ||
context.logger.warn( | ||
"Failed to download docs application. Please reach out to [email protected]." | ||
); | ||
context.logger.warn("Please reach out to [email protected]."); | ||
return; | ||
} | ||
} | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.