diff --git a/bun.lock b/bun.lock index f12a1c3..89096d4 100644 --- a/bun.lock +++ b/bun.lock @@ -1,5 +1,6 @@ { "lockfileVersion": 1, + "configVersion": 0, "workspaces": { "": { "name": "registry", diff --git a/src/app/[id]/page.tsx b/src/app/[id]/page.tsx index d309c28..7a51eb8 100644 --- a/src/app/[id]/page.tsx +++ b/src/app/[id]/page.tsx @@ -145,12 +145,25 @@ const Pattern = ({ params }: { params: Promise<{ id: string }> }) => { blueprint.props.clientStatus === Status.Failed || blueprint.props.serverStatus === Status.Failed ) { + const errorMessage = blueprint.props.clientError || blueprint.props.serverError; return (
- The blueprint failed due to some technical reasons. Please recompile again. + {errorMessage + ? 'The blueprint compilation failed. See error details below.' + : 'The blueprint failed due to some technical reasons. Please recompile again.'}
+ {errorMessage && ( +
+ {errorMessage}
+
+ {blueprint.props.description}
+ {blueprint.props.clientError || blueprint.props.serverError}
+
+