Merge pull request #708 from Philoul/Fix/CrashMissingTrigger
Fix crash if trigger not found (minor improvement)
This commit is contained in:
commit
917ecaa479
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,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