Fix Crash if a missing trigger is found
This commit is contained in:
parent
b2c45d0a26
commit
b636eb785b
|
@ -141,7 +141,7 @@ abstract class Trigger(val injector: HasAndroidInjector) {
|
|||
TriggerWifiSsid::class.java.simpleName -> TriggerWifiSsid(injector).fromJSON(
|
||||
data.toString()
|
||||
)
|
||||
else -> throw ClassNotFoundException(type)
|
||||
else -> TriggerConnector(injector)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue