mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Replace cDebug() with Logs::DebugEnabled().
This commit is contained in:
@@ -750,7 +750,7 @@ bool RecoverBox::codeSubmitFail(const RPCError &error) {
|
||||
_recoverCode->showError();
|
||||
return true;
|
||||
}
|
||||
if (cDebug()) { // internal server error
|
||||
if (Logs::DebugEnabled()) { // internal server error
|
||||
_error = err + ": " + error.description();
|
||||
} else {
|
||||
_error = Lang::Hard::ServerError();
|
||||
|
Reference in New Issue
Block a user