Skip to content

Commit

Permalink
Merge pull request #261 from balancer/ignore-kassandra-managed
Browse files Browse the repository at this point in the history
ignore SDKs UNSUPPORTED_POOL_TYPE
  • Loading branch information
gmbronco authored Feb 26, 2024
2 parents 8a800f0 + 0ff2bf4 commit fec2993
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/modules/pools/pool.decorator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,12 @@ export class PoolDecorator {

poolService.setIsNew();
} catch (e) {
captureException(e, { extra: { pool } });
if (e.message === 'UNSUPPORTED_POOL_TYPE') {
// we get this for KassandraManaged
// Ignore Kassandra pools for now since they are not supported by the SDK
} else {
captureException(e, { extra: { pool } });
}
console.log(
`Failed to decorate pool ${
pool.id
Expand Down

0 comments on commit fec2993

Please sign in to comment.