We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fca9c19 commit 7cc806fCopy full SHA for 7cc806f
packages/theme/src/cli/utilities/theme-environment/html.ts
@@ -33,6 +33,8 @@ export function getHtmlHandler(theme: Theme, ctx: DevServerContext) {
33
assertThemeId(response, html, String(theme.id))
34
35
if (ctx.options.errorOverlay !== 'silent' && ctx.localThemeFileSystem.uploadErrors.size > 0) {
36
+ setResponseStatus(event, 500, 'Failed to Upload Theme Files')
37
+ setResponseHeader(event, 'Content-Type', 'text/html')
38
html = getErrorPage({
39
title: 'Failed to Upload Theme Files',
40
header: 'Upload Errors',
0 commit comments