mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 22:46:10 +00:00
Remove exceptions in TL parsing.
This commit is contained in:
@@ -458,9 +458,7 @@ bool SpecialConfigRequest::decryptSimpleConfig(const QByteArray &bytes) {
|
||||
return false;
|
||||
}
|
||||
|
||||
try {
|
||||
_simpleConfig.read(from, end);
|
||||
} catch (...) {
|
||||
if (!_simpleConfig.read(from, end)) {
|
||||
LOG(("Config Error: Could not read configSimple."));
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user