Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/Umbraco.Web.UI.Client/devops/tsconfig/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ const tsConfigBase = {
'storybook/stories/**/*.ts',
'examples/**/*.ts',
],
exclude: ['node_modules', 'dist', 'dist-cms', 'mocks/tools'],
references: [
{
path: './tsconfig.node.json',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const publishingHandlers = [
if (error instanceof Error) {
return HttpResponse.json(createProblemDetails({ title: 'Schedule', detail: error.message }), { status: 400 });
}
throw new Error('An error occurred while publishing the document');
throw new Error('An error occurred while publishing the document', { cause: error });
}
}),

Expand All @@ -43,7 +43,7 @@ export const publishingHandlers = [
if (error instanceof Error) {
return HttpResponse.json(createProblemDetails({ title: 'Schedule', detail: error.message }), { status: 400 });
}
throw new Error('An error occurred while publishing the document');
throw new Error('An error occurred while publishing the document', { cause: error });
}
}),

Expand Down
Loading
Loading