From cc84b09a88d53085de3b0f5c19e0ebe58958275b Mon Sep 17 00:00:00 2001 From: Fallengirl <155266340+Fallengirl@users.noreply.github.com> Date: Sun, 22 Dec 2024 21:41:35 +0100 Subject: [PATCH] Update compiler.tsx --- apps/vyper/src/app/utils/compiler.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/vyper/src/app/utils/compiler.tsx b/apps/vyper/src/app/utils/compiler.tsx index e2cb6753ec..7f1c7d0f00 100644 --- a/apps/vyper/src/app/utils/compiler.tsx +++ b/apps/vyper/src/app/utils/compiler.tsx @@ -178,7 +178,7 @@ export async function compileContract(contract: string, compilerUrl: string, set } catch (e: any) { const errorGettingContract: VyperCompilationError = { status: 'failed', - message: e.mesaage, + message: e.message, error_type: 'fetch_contract' } @@ -230,7 +230,7 @@ export async function compileContract(contract: string, compilerUrl: string, set const errorGettingContract: VyperCompilationError = { status: 'failed', - message: err.mesaage, + message: err.message, error_type: 'unknown_error' }