mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-18 04:03:59 +00:00
Avoid logging sensitive data
This commit is contained in:
parent
f3383e1f0f
commit
19d957e925
|
@ -1886,8 +1886,6 @@ void server::handle_delete(const server::request& req)
|
|||
LOG_CS << req << "Deleting add-on '" << id << "'";
|
||||
|
||||
auto addon = get_addon(id);
|
||||
PLAIN_LOG << erase.debug() << "\n\n" << addon->debug();
|
||||
|
||||
if(!addon) {
|
||||
send_error("The add-on does not exist.", req.sock);
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue
Block a user