Skip to content

Conversation

@Vadman97
Copy link
Contributor

@Vadman97 Vadman97 commented Oct 1, 2025

Summary

Support calling LDObserve.recordError with falsy value without causing an error.

How did you test this change?

CI

Are there any deployment considerations?

no


Note

Ensure recordError handles nullish values by defaulting to new Error('Unknown error').

Written by Cursor Bugbot for commit d63bee4. This will update automatically on new commits. Configure here.

@Vadman97 Vadman97 requested a review from a team as a code owner October 1, 2025 23:10
cursor[bot]

This comment was marked as outdated.

@Vadman97 Vadman97 changed the title fix: support recordError with nullish Error fix: support recordError with falsy Error Oct 2, 2025
@Vadman97 Vadman97 merged commit 8070c89 into main Oct 3, 2025
23 checks passed
@Vadman97 Vadman97 deleted the vadim/fix-record-error branch October 3, 2025 21:37
Vadman97 pushed a commit that referenced this pull request Oct 3, 2025
🤖 I have created a release *beep* *boop*
---


<details><summary>observability: 0.4.4</summary>

##
[0.4.4](observability-0.4.3...observability-0.4.4)
(2025-10-03)


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * highlight.run bumped to 9.22.1
</details>

<details><summary>session-replay: 0.4.4</summary>

##
[0.4.4](session-replay-0.4.3...session-replay-0.4.4)
(2025-10-03)


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * highlight.run bumped to 9.22.1
</details>

<details><summary>highlight.run: 9.22.1</summary>

##
[9.22.1](highlight.run-9.22.0...highlight.run-9.22.1)
(2025-10-03)


### Bug Fixes

* Add classname to user interaction
([#258](#258))
([8ed78e1](8ed78e1))
* support recordError with falsy Error
([#253](#253))
([8070c89](8070c89))
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> Bumps `@launchdarkly/observability` and `@launchdarkly/session-replay`
to 0.4.4 and `highlight.run` to 9.22.1 with minor bug fixes; updates
manifest and changelogs.
> 
> - **Releases**:
>   - `highlight.run` → `9.22.1`
> - Bug fixes: add classname to user interaction; support `recordError`
with falsy `Error`.
>   - `@launchdarkly/observability` → `0.4.4`
>     - Updates dependency to `[email protected]`.
>   - `@launchdarkly/session-replay` → `0.4.4`
>     - Updates dependency to `[email protected]`.
> - **Meta**:
> - Update `.release-please-manifest.json` and package changelogs to
reflect new versions.
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
c1f9417. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants