Merge "Warn on untrusted client settings being ignored" into main
This commit is contained in:
commit
4fd32351f3
|
@ -253,7 +253,7 @@ struct ClientSettings
|
||||||
else if (setSubstituters(settings.substituters))
|
else if (setSubstituters(settings.substituters))
|
||||||
;
|
;
|
||||||
else
|
else
|
||||||
debug("ignoring the client-specified setting '%s', because it is a restricted setting and you are not a trusted user", name);
|
warn("Ignoring the client-specified setting '%s', because it is a restricted setting and you are not a trusted user", name);
|
||||||
} catch (UsageError & e) {
|
} catch (UsageError & e) {
|
||||||
warn(e.what());
|
warn(e.what());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue