Skip to content

error

Error logs

logger.error designates error events.

1
2
3
4
5
try {

} catch (e) {
    await g.logger.error(e);
}

You will get the error logs in to the Logs tab.