Fix java example build (#1225)
This commit is contained in:
parent
7c7804ff9e
commit
e104766de3
@ -305,7 +305,7 @@ public final class Example {
|
||||
public static void main(String[] args) throws InterruptedException {
|
||||
// disable TDLib log
|
||||
Client.execute(new TdApi.SetLogVerbosityLevel(0));
|
||||
if (Client.execute(new TdApi.SetLogStream(new TdApi.LogStreamFile("tdlib.log", 1 << 27))) instanceof TdApi.Error) {
|
||||
if (Client.execute(new TdApi.SetLogStream(new TdApi.LogStreamFile("tdlib.log", 1 << 27, true))) instanceof TdApi.Error) {
|
||||
throw new IOError(new IOException("Write access to the current directory is required"));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user