Skip to content

Commit

Permalink
fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
dtmkeng committed Feb 14, 2023
1 parent bed28ec commit 6dfc2e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adapters/utils/runAdapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default async function runAdapter(volumeAdapter: BaseAdapter, cleanCurren
...result
})
} catch (e) {
console.error(`Failed to get volume on ${chain}: ${e.message}`)
console.error(`Failed to get volume on ${chain}: ${e}`)
return Promise.reject({ chain, error: e, timestamp: cleanPreviousDayTimestamp });
}
})) as Promise<PromiseResult<IRunAdapterResponseFulfilled, IRunAdapterResponseRejected>[]>
Expand Down

0 comments on commit 6dfc2e8

Please sign in to comment.