mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-21 00:59:29 +00:00
logger.warn only takes two arguments, unlike console.warn
This commit is contained in:
parent
55451ae5ac
commit
86c3883af6
1 changed files with 1 additions and 6 deletions
|
|
@ -47,12 +47,7 @@ async function postSkin({ md5, title, dest }) {
|
|||
if (String(color).length === 6) {
|
||||
embed.setColor(`#${color}`);
|
||||
} else {
|
||||
logger.warn(
|
||||
"Did not get a safe color from ",
|
||||
averageColor,
|
||||
"got",
|
||||
color
|
||||
);
|
||||
logger.warn("Did not get a safe color", { averageColor, color });
|
||||
}
|
||||
} catch (e) {
|
||||
logger.error("Could not use color", averageColor);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue