Skip to content

Commit e2d8757

Browse files
authored
Add workflow dispatch and improve error logging in AWS Staging workflow (#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
1 parent 5822cb9 commit e2d8757

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/aws-staging.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ on:
22
push:
33
branches:
44
- dev
5+
workflow_dispatch:
56

67
name: Build and deploy to AWS Staging
78
env:

blockchain/prices.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,8 @@ export function createTokenPriceInUSD$(
118118
[token]: new BigNumber(tokenPrice),
119119
})
120120
} catch (err) {
121-
console.error(`could not find price for ${token} - no ticker configured`)
121+
console.error(`could not find price for ${token}`)
122+
console.error(err)
122123

123124
return of({})
124125
}

0 commit comments

Comments
 (0)