mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-04 04:59:40 +00:00
Merge branch 'develop' of github.com:HabitRPG/habitica into develop
This commit is contained in:
commit
d519940931
3 changed files with 5 additions and 4 deletions
2
package-lock.json
generated
2
package-lock.json
generated
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "habitica",
|
||||
"version": "4.91.0",
|
||||
"version": "4.91.1",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "habitica",
|
||||
"description": "A habit tracker app which treats your goals like a Role Playing Game.",
|
||||
"version": "4.91.0",
|
||||
"version": "4.91.1",
|
||||
"main": "./website/server/index.js",
|
||||
"dependencies": {
|
||||
"@google-cloud/trace-agent": "^3.6.0",
|
||||
|
|
|
|||
|
|
@ -84,8 +84,9 @@ let loggerInterface = {
|
|||
|
||||
// Logs unhandled promises errors
|
||||
// when no catch is attached to a promise a unhandledRejection event will be triggered
|
||||
process.on('unhandledRejection', function handlePromiseRejection (reason) {
|
||||
loggerInterface.error('unhandledPromiseRejection', reason);
|
||||
// reason is the error, p the promise where it originated
|
||||
process.on('unhandledRejection', function handlePromiseRejection (reason, p) {
|
||||
loggerInterface.error(reason, 'unhandledPromiseRejection at', p);
|
||||
});
|
||||
|
||||
module.exports = loggerInterface;
|
||||
|
|
|
|||
Loading…
Reference in a new issue