Skip to content

Conversation

@vladfrangu
Copy link
Member

will be fixed proper once we build IIFE bundles via tsup

will be fixed proper once we build IIFE bundles via tsup
@vladfrangu vladfrangu added adhoc Ad-hoc unplanned task added during the sprint. high priority Do this ASAP! This is for mission-critical work or work that blocks other teams in their work. labels Jan 12, 2024
@vladfrangu vladfrangu requested a review from B4nan January 12, 2024 15:21
@vladfrangu vladfrangu merged commit af74dab into master Jan 12, 2024
@vladfrangu vladfrangu deleted the rollback/dont-print-cause branch January 12, 2024 15:23
vladfrangu added a commit that referenced this pull request Jan 25, 2024
This is the proper reimplementation of
#428 & revert of
#434


![image](https://github.com/apify/apify-shared-js/assets/17960496/0a664bed-8775-4ec6-860b-679538e77646)

```ts
import log from '@apify/log';

const err = new Error('Some error');
const errWithCause = new Error('Some error with cause', { cause: err });
const errWithNestedCause = new Error('Some error with nested cause', { cause: errWithCause });

log.exception(errWithNestedCause);
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

adhoc Ad-hoc unplanned task added during the sprint. high priority Do this ASAP! This is for mission-critical work or work that blocks other teams in their work.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant