Skip to content

Commit

Permalink
Add workflow dispatch and improve error logging in AWS Staging workfl…
Browse files Browse the repository at this point in the history
…ow (#4049)

* Add workflow_dispatch trigger to AWS Staging workflow

* Add SUBGRAPH_BASE environment variable to workflows and Dockerfile

* Improve error logging for missing token prices

* Add SUBGRAPH_BASE to required secrets in AWS Staging workflow

* refactor subgraph base to SUBGRAPH_BASE_STAGING for stg

* removed SUBGRAPH_BASE as it is not needed

* fix
  • Loading branch information
piotrwitek authored Nov 8, 2024
1 parent 5822cb9 commit e2d8757
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/aws-staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ on:
push:
branches:
- dev
workflow_dispatch:

name: Build and deploy to AWS Staging
env:
Expand Down
3 changes: 2 additions & 1 deletion blockchain/prices.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ export function createTokenPriceInUSD$(
[token]: new BigNumber(tokenPrice),
})
} catch (err) {
console.error(`could not find price for ${token} - no ticker configured`)
console.error(`could not find price for ${token}`)
console.error(err)

return of({})
}
Expand Down

0 comments on commit e2d8757

Please sign in to comment.