Skip to content

Commit

Permalink
fix: scenes forward
Browse files Browse the repository at this point in the history
  • Loading branch information
aleortega committed Oct 11, 2024
1 parent 0e20c50 commit f2ebbdf
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/adapters/deployer/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,18 @@ export function createDeployerComponent(
await markAsDeployed()
} catch (error: any) {
const isNotRetryable = /status: 4\d{2}/.test(error.message)
logger.error('Failed to publish entity', {
entityId: entity.entityId,
entityType: entity.entityType,
error: error?.message
})

logger.debug('Error details', {
entityId: entity.entityId,
error: error,
stack: error?.stack
})

if (isNotRetryable) {
logger.error('Failed to download entity', {
entityId: entity.entityId,
Expand Down

0 comments on commit f2ebbdf

Please sign in to comment.