mirror of
https://github.com/flavioribeiro/donut.git
synced 2025-10-05 06:56:50 +08:00
fix unknown msg
This commit is contained in:
@@ -131,7 +131,7 @@ const formattedNow = () => {
|
||||
|
||||
const log = (msg, level = "info") => {
|
||||
const el = document.createElement("p")
|
||||
|
||||
|
||||
if (typeof(msg) !== "string") {
|
||||
msg = "unknown log msg type " + typeof(msg)
|
||||
level = "error"
|
||||
|
Reference in New Issue
Block a user