Change to ignore unsupported accounts instead of crashing

This commit is contained in:
Maurice Parker 2019-09-20 11:41:28 -05:00
parent b75f67bc1b
commit ea13f911f1

View File

@ -217,7 +217,7 @@ public final class Account: DisplayNameProvider, UnreadCountProvider, Container,
case .feedbin:
self.delegate = FeedbinAccountDelegate(dataFolder: dataFolder, transport: transport)
default:
fatalError("Only Local and Feedbin accounts are supported")
return nil
}
self.accountID = accountID