Skip to content

Commit

Permalink
Refine error message for UDP fallback plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Mygod committed Mar 8, 2019
1 parent 3e5ef4c commit 68e2815
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ object BaseService {
File(Core.deviceStorage.noBackupFilesDir, "stat_main"),
File(configRoot, CONFIG_FILE),
if (udpFallback == null) "-u" else null)
check(udpFallback?.pluginPath == null)
check(udpFallback?.pluginPath == null) { "UDP fallback cannot have plugins" }
udpFallback?.start(this,
File(Core.deviceStorage.noBackupFilesDir, "stat_udp"),
File(configRoot, CONFIG_FILE_UDP),
Expand Down

0 comments on commit 68e2815

Please sign in to comment.