diff --git a/backend/src/main/kotlin/me/sujanpoudel/playdeals/jobs/AndroidAppDetailScrapper.kt b/backend/src/main/kotlin/me/sujanpoudel/playdeals/jobs/AndroidAppDetailScrapper.kt index b530e10..fb75175 100644 --- a/backend/src/main/kotlin/me/sujanpoudel/playdeals/jobs/AndroidAppDetailScrapper.kt +++ b/backend/src/main/kotlin/me/sujanpoudel/playdeals/jobs/AndroidAppDetailScrapper.kt @@ -64,7 +64,7 @@ class AppDetailScrapper( getAppDetail(packageName) }.getOrElse { repository.delete(packageName) - throw RuntimeException("AppDetailScrapper failed to scrap details ${it.message}") + throw RuntimeException("AppDetailScrapper failed to scrap details ${it.message}", it) } when { @@ -164,7 +164,7 @@ class AppDetailScrapper( companion object { const val PRICE_MULTIPLIER = 1000_000f val INIT_DATA_PATTERN: Pattern = - Pattern.compile("