diff --git a/ts/lib/generated/post.ts b/ts/lib/generated/post.ts index e6f77cdf9..35310007a 100644 --- a/ts/lib/generated/post.ts +++ b/ts/lib/generated/post.ts @@ -19,10 +19,7 @@ export async function postProto( return outputType.fromBinary(outputBytes); } catch (err) { const { alertOnError = true } = options; - if ( - alertOnError && - !(err instanceof Error && err.message === "500: Interrupted") - ) { + if (alertOnError && !(err instanceof Error && err.message === "500: Interrupted")) { alert(err); } throw err; @@ -46,9 +43,7 @@ async function postProtoInner(url: string, body: Uint8Array): Promise