mautrix / imessage

A Matrix-iMessage puppeting bridge
https://go.mau.fi/mautrix-imessage/
GNU Affero General Public License v3.0
341 stars 37 forks source link

Increase logging of available platforms if the provided platform is invalid #42

Closed CarlAmbroselli closed 2 years ago

CarlAmbroselli commented 2 years ago

Debugging mautrix-imessage on an iPhone 7 (iOS 14) with the following with that change, which makes debugging easier:

iPhone-7-Red:/private/var/matrix root# ./mautrix-imessage
[Feb 13, 2022 11:43:38] [INFO] Initializing mautrix-imessage 0.1.0+dev.7bf7c23d (Feb 13 2022, 11:16:48)
[Feb 13, 2022 11:43:38] [DEBUG] Initializing database connection
[Feb 13, 2022 11:43:38] [DEBUG] Initializing state store
[Feb 13, 2022 11:43:38] [DEBUG] Initializing Matrix event processor
[Feb 13, 2022 11:43:38] [DEBUG] Initializing Matrix event handler
[Feb 13, 2022 11:43:38] [DEBUG] Initializing iMessage connector
[Feb 13, 2022 11:43:38] [FATAL] Failed to initialize iMessage connector: no such platform "mac-nosip", available: map[android:0x1044ca140 ios:0x1044ca140]