mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-02 10:56:00 +02:00
Use internal logger instead of debug/console for logging
Resolve #4104 Resolve #1966 Resolve #1937
This commit is contained in:
@@ -495,7 +495,6 @@ async function insertNote(user: IUser, data: Option, tags: string[], emojis: str
|
||||
return null;
|
||||
}
|
||||
|
||||
console.error(e);
|
||||
throw 'something happened';
|
||||
}
|
||||
}
|
||||
|
||||
@@ -30,7 +30,6 @@ export default async (user: IUser, note: INote, reaction: string) => new Promise
|
||||
return rej('already reacted');
|
||||
}
|
||||
|
||||
console.error(e);
|
||||
return rej('something happened');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user