enhance(logging): ログの情報を増やす (MisskeyIO#351)
This commit is contained in:
@@ -71,7 +71,7 @@ if (!envOption.quiet) {
|
||||
// Display detail of uncaught exception
|
||||
process.on('uncaughtException', err => {
|
||||
try {
|
||||
logger.error(err);
|
||||
logger.error('Uncaught exception', { error: err });
|
||||
} catch { }
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user