Skip to content

Commit 8aab2eb

Browse files
committed
chore(onramp/coinbase): have CoinbaseOnRampWebError extend Throwable for proper grouping in bugsnag
Signed-off-by: Brandon McAnsh <git@bmcreations.dev>
1 parent 246a169 commit 8aab2eb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/flipcash/shared/onramp/coinbase/src/main/kotlin/com/flipcash/app/onramp/internal/CoinbaseOnRampEventHandler.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ internal class CoinbaseOnRampEventHandler(
236236
}
237237
}
238238

239-
sealed class CoinbaseOnRampWebError(val data: String? = null): Exception() {
239+
sealed class CoinbaseOnRampWebError(val data: String? = null): Throwable() {
240240
class Unknown(data: String? = null) : CoinbaseOnRampWebError(data), NotifiableError
241241
class MissingTransactionUuid(data: String? = null) : CoinbaseOnRampWebError(data), NotifiableError
242242
class GuestCardNotDebit(data: String? = null) : CoinbaseOnRampWebError(data)

0 commit comments

Comments
 (0)