diff --git a/ts/lib/generated/post.ts b/ts/lib/generated/post.ts index 35310007a..dab9c1b9c 100644 --- a/ts/lib/generated/post.ts +++ b/ts/lib/generated/post.ts @@ -19,7 +19,9 @@ 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; @@ -43,7 +45,9 @@ async function postProtoInner(url: string, body: Uint8Array): Promise