Skip to content

Commit

Permalink
quic: use Check instead of FromJust in node_quic.cc
Browse files Browse the repository at this point in the history
PR-URL: #33937
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
  • Loading branch information
danbev committed Jun 22, 2020
1 parent 326a79e commit 013cd1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/quic/node_quic.cc
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ void Initialize(Local<Object> target,
#define SET_STATE_TYPEDARRAY(name, field) \
target->Set(context, \
FIXED_ONE_BYTE_STRING(isolate, (name)), \
(field.GetJSArray())).FromJust()
(field.GetJSArray())).Check()
SET_STATE_TYPEDARRAY("sessionConfig", state->quicsessionconfig_buffer);
SET_STATE_TYPEDARRAY("http3Config", state->http3config_buffer);
#undef SET_STATE_TYPEDARRAY
Expand Down

0 comments on commit 013cd1a

Please sign in to comment.