Skip to content

Commit

Permalink
Improve error messages in flipIterable
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixHenninger committed Sep 20, 2024
1 parent 43cc289 commit 372df30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/library/src/base/util/iterators/flipIterable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ export class FlipIterable {

// TODO: Ensure that .lock() is called on aborted components
} else {
console.error(`Error running`, c)
console.error('Error running component', c, ':', error)
throw error
}
}
Expand Down Expand Up @@ -272,7 +272,7 @@ const stopOutgoing = async function (
await c.end(flipData.reason, { ...flipData, controlled: true })
context = c.leaveContext(context)
} catch (error) {
console.error(`Error ending`, c)
console.error('Error ending component', c, ':', error)
throw error
}
}
Expand Down

0 comments on commit 372df30

Please sign in to comment.