Skip to content

Commit 15903a2

Browse files
committed
chore: fix sdk client
Signed-off-by: nikolay <[email protected]>
1 parent a7d183a commit 15903a2

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

packages/relay/src/lib/clients/sdkClient.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -329,15 +329,7 @@ export class SDKClient {
329329
}
330330

331331
if (!transactionResponse) {
332-
// Transactions may experience "SDK timeout exceeded" or "Connection Dropped" errors from the SDK, yet they may still be able to reach the consensus layer.
333-
// Throw Connection Drop and Timeout errors as additional handling logic is expected in a higher layer.
334-
if (sdkClientError.isConnectionDropped() || sdkClientError.isTimeoutExceeded()) {
335-
throw sdkClientError;
336-
} else {
337-
throw predefined.INTERNAL_ERROR(
338-
`Transaction execution returns a null value: transactionId=${transaction.transactionId}, callerName=${callerName}, txConstructorName=${txConstructorName}`,
339-
);
340-
}
332+
throw sdkClientError;
341333
}
342334
return transactionResponse;
343335
} finally {

0 commit comments

Comments
 (0)