combine some warnings for cleaner logging

This commit is contained in:
Henry Jameson 2025-01-28 16:33:38 +02:00
commit 55579bea55
2 changed files with 6 additions and 12 deletions

View file

@ -174,8 +174,7 @@ const getTOS = async ({ store }) => {
throw (res)
}
} catch (e) {
console.warn("Can't load TOS")
console.warn(e)
console.warn("Can't load TOS\n", e)
}
}
@ -189,8 +188,7 @@ const getInstancePanel = async ({ store }) => {
throw (res)
}
} catch (e) {
console.warn("Can't load instance panel")
console.warn(e)
console.warn("Can't load instance panel\n", e)
}
}
@ -220,8 +218,7 @@ const getStickers = async ({ store }) => {
throw (res)
}
} catch (e) {
console.warn("Can't load stickers")
console.warn(e)
console.warn("Can't load stickers\n", e)
}
}