We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9880b3f commit a192ccdCopy full SHA for a192ccd
1 file changed
src/main/kotlin/com/github/cnrture/quickprojectwizard/analytics/AnalyticsService.kt
@@ -53,10 +53,8 @@ class AnalyticsService {
53
connection.outputStream.use { os ->
54
os.write(payload.toByteArray())
55
}
56
- println("Analytics event sent: ${event.eventName} at ${event.timestamp}")
57
- if (connection.responseCode != HttpURLConnection.HTTP_OK) {
58
- println("Failed to send analytics event: ${connection.responseMessage}")
59
- }
+
+ connection.responseCode
60
connection.disconnect()
61
} catch (_: Exception) {
62
0 commit comments