Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: improve scraper startup error handling (#5191)
### Description - handle errors and sets set chain metrics if scraper fails for chain during startup ### Drive-by changes - implement Clone for `ScraperDb` - this is because DbConn doesn't implement Clone when `mock` feature is enabled ### Related issues Fixes https://github.com/hyperlane-xyz/issues/issues/1408 ### Backward compatibility Yes ### Testing Added unittest to test function. But don't have tests in place for testing the logic in `Scraper::run()`
- Loading branch information