Skip to content
Open
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
6 changes: 4 additions & 2 deletions content/src/logic/deployment-service/component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -413,10 +413,12 @@ export function createDeploymentService(

// TODO: review this
return storeResult.auditInfoComplete.localTimestamp || Date.now()
} catch (error) {
} catch (error: any) {
logger.error(`There was an error deploying the entity: ${error}`, { entityId })
const name = error?.name ?? 'Error'
const message = error?.message ?? 'unknown error'
return InvalidResult({
errors: [`There was an error deploying the entity`]
errors: [`There was an error deploying the entity: ${name}: ${message}`]
})
} finally {
components.pointerLockManager.release(entity.type, entity.pointers)
Expand Down
Loading