mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Replace cDebug() with Logs::DebugEnabled().
This commit is contained in:
@@ -161,7 +161,7 @@ bool SignupWidget::nameSubmitFail(const RPCError &error) {
|
||||
_last->setFocus();
|
||||
return true;
|
||||
}
|
||||
if (cDebug()) { // internal server error
|
||||
if (Logs::DebugEnabled()) { // internal server error
|
||||
auto text = err + ": " + error.description();
|
||||
showError([text] { return text; });
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user