Skip to content

Commit

Permalink
workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
ppedziwiatr committed Jan 16, 2024
1 parent 75b853a commit 63450c7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/plugins/Evolve.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ export class Evolve implements ExecutionContextModifier {
e.name == KnownErrors.NonWhitelistedSourceError
) {
throw e;
} else if (e.name === KnownErrors.NetworkCommunicationError) {
this.logger.warn(`Error while evolving ${contractTxId} from ${currentSrcTxId} to ${evolvedSrcTxId}: ${e}`);
return executionContext;
} else {
throw new SmartWeaveError(SmartWeaveErrorType.CONTRACT_NOT_FOUND, {
message: `Error while evolving ${contractTxId} from ${currentSrcTxId} to ${evolvedSrcTxId}: ${e}`,
Expand Down

0 comments on commit 63450c7

Please sign in to comment.