diff --git a/play-services-core/src/main/kotlin/org/microg/gms/gcm/PushRegisterService.kt b/play-services-core/src/main/kotlin/org/microg/gms/gcm/PushRegisterService.kt index 3f228476..f1ba3435 100644 --- a/play-services-core/src/main/kotlin/org/microg/gms/gcm/PushRegisterService.kt +++ b/play-services-core/src/main/kotlin/org/microg/gms/gcm/PushRegisterService.kt @@ -70,10 +70,10 @@ private suspend fun ensureAppRegistrationAllowed(context: Context, database: Gcm context.startActivity(i) } if (!accepted) { - throw RuntimeException("Push permission not granted to app") + throw RuntimeException("Push permission not granted to $packageName") } } else if (app?.allowRegister == false) { - throw RuntimeException("Push permission not granted to app") + throw RuntimeException("Push permission not granted to $packageName") } }