Skip to content

Blazor analysis result serialization now results in Rollbars#4043

Merged
StachuDotNet merged 2 commits into
darklang:mainfrom
StachuDotNet:blazor-serialization-failures-yield-rollbar
May 30, 2022
Merged

Blazor analysis result serialization now results in Rollbars#4043
StachuDotNet merged 2 commits into
darklang:mainfrom
StachuDotNet:blazor-serialization-failures-yield-rollbar

Conversation

@StachuDotNet

@StachuDotNet StachuDotNet commented May 30, 2022

Copy link
Copy Markdown
Member

Prior to this, serialization failures led to an infinite loading spinner in the client.

Prior to this, serialization failures led to an inifinite
loading spinner in the client.
@StachuDotNet StachuDotNet requested a review from pbiggar May 30, 2022 18:18
@pbiggar

pbiggar commented May 30, 2022

Copy link
Copy Markdown
Member

Why did it break before? I'm not seeing the difference.

@StachuDotNet

StachuDotNet commented May 30, 2022

Copy link
Copy Markdown
Member Author

See here:

|> Task.map Json.Vanilla.serialize
|> Task.map EvalWorker.postMessage

Previously there was no try/with to wrap the call to Vanilla.serialize

@pbiggar pbiggar left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One question, feel free to merge once resolved.

Comment thread fsharp-backend/src/Wasm/Wasm.fs Outdated
Comment thread fsharp-backend/src/Wasm/Wasm.fs Outdated
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