Compare commits
2 commits
d614d99642
...
a486daa81c
Author | SHA1 | Date | |
---|---|---|---|
a486daa81c | |||
3aa27ef8ff |
2 changed files with 2 additions and 2 deletions
|
@ -43,6 +43,6 @@ public final class MessageService {
|
|||
}
|
||||
};
|
||||
logger.debug("Handling message in new process: {}", originalMessageId);
|
||||
Thread.startVirtualThread(callable).start();
|
||||
Thread.startVirtualThread(callable);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -34,7 +34,7 @@ public final class DiscordRest {
|
|||
.build();
|
||||
|
||||
final HttpResponse<Void> response = httpClient.send(request, HttpResponse.BodyHandlers.discarding());
|
||||
if (response.statusCode() != 201) {
|
||||
if (response.statusCode() != 200) {
|
||||
logger.error("Unexpected status code: {}", response.statusCode());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue