Skip to content

Commit

Permalink
Update src/components/SpaceCreator.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: Alan Shaw <alan.shaw@protocol.ai>
  • Loading branch information
fforbeck and Alan Shaw authored Sep 4, 2024
1 parent dbfed73 commit a55d1aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/SpaceCreator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export function SpaceCreatorForm ({
if (result.error) {
setSubmitted(false)
setCreated(false)
throw result.error
throw new Error(`failed provisioning space: ${space.did()} with provider: ${provider}`, { cause: result.error })
}

// MUST do this before creating recovery, as it creates necessary authorizations
Expand Down

0 comments on commit a55d1aa

Please sign in to comment.