Skip to content

Commit

Permalink
fix: log opex invocation
Browse files Browse the repository at this point in the history
  • Loading branch information
fazzatti committed Aug 15, 2024
1 parent 2cfe230 commit 7b1eb7d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/src/app/core/pages/contracts-create/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ export const ContractsCreate: React.FC = () => {

if (!contractId) {
await token.wrapAndDeploy(opexTxInvocation).catch(error => {
console.log('Opex invoc', opexTxInvocation)
console.error('Error wrapping and deploying token', error)
console.log('Details', error as StellarPlusError)
console.log('Meta', (error as StellarPlusError).meta)
Expand Down Expand Up @@ -123,6 +124,7 @@ export const ContractsCreate: React.FC = () => {
)

await codClient.deploy(opexTxInvocation).catch(error => {
console.log('Opex invoc', opexTxInvocation)
console.error('Error deploying contract', error)
console.log('Details', error as StellarPlusError)
console.log('Meta', (error as StellarPlusError).meta)
Expand Down

0 comments on commit 7b1eb7d

Please sign in to comment.