Fix 'Internal Server Error' spelling.
GitOrigin-RevId: 9dd65cc0e6ea64650647e9600e9b92ef9f373c7e
This commit is contained in:
parent
d26cf8f8a3
commit
da6f582788
@ -23006,13 +23006,13 @@ FullMessageId MessagesManager::on_send_message_success(int64 random_id, MessageI
|
||||
LOG(ERROR) << "Receive " << new_message_id << " as sent message from " << source;
|
||||
on_send_message_fail(
|
||||
random_id,
|
||||
Status::Error(500, "Internal server error: receive invalid message identifier as sent message identifier"));
|
||||
Status::Error(500, "Internal Server Error: receive invalid message identifier as sent message identifier"));
|
||||
return {};
|
||||
}
|
||||
if (new_message_id.is_yet_unsent()) {
|
||||
LOG(ERROR) << "Receive " << new_message_id << " as sent message from " << source;
|
||||
on_send_message_fail(random_id,
|
||||
Status::Error(500, "Internal server error: receive yet unsent message as sent message"));
|
||||
Status::Error(500, "Internal Server Error: receive yet unsent message as sent message"));
|
||||
return {};
|
||||
}
|
||||
|
||||
@ -23028,7 +23028,7 @@ FullMessageId MessagesManager::on_send_message_success(int64 random_id, MessageI
|
||||
|
||||
if (new_message_id.is_local() && dialog_id.get_type() != DialogType::SecretChat) {
|
||||
LOG(ERROR) << "Receive " << new_message_id << " as sent message from " << source;
|
||||
on_send_message_fail(random_id, Status::Error(500, "Internal server error: receive local as sent message"));
|
||||
on_send_message_fail(random_id, Status::Error(500, "Internal Server Error: receive local as sent message"));
|
||||
return {};
|
||||
}
|
||||
|
||||
|
@ -2242,7 +2242,7 @@ StickerSetId StickersManager::on_get_messages_sticker_set(StickerSetId sticker_s
|
||||
}
|
||||
if (sticker_set_id.is_valid() && sticker_set_id != set_id) {
|
||||
LOG(ERROR) << "Expected " << sticker_set_id << ", but receive " << set_id << " from " << source;
|
||||
on_load_sticker_set_fail(sticker_set_id, Status::Error(500, "Internal server error"));
|
||||
on_load_sticker_set_fail(sticker_set_id, Status::Error(500, "Internal Server Error"));
|
||||
return StickerSetId();
|
||||
}
|
||||
|
||||
|
@ -798,7 +798,7 @@ Status HttpReader::save_file_part(BufferSlice &&file_part) {
|
||||
auto result_written = temp_file_.write(file_part.as_slice());
|
||||
if (result_written.is_error() || result_written.ok() != file_part.size()) {
|
||||
clean_temporary_file();
|
||||
return Status::Error(500, "Internal server error: can't upload the file");
|
||||
return Status::Error(500, "Internal Server Error: can't upload the file");
|
||||
}
|
||||
return Status::OK();
|
||||
}
|
||||
|
Reference in New Issue
Block a user