Fix errors

This commit is contained in:
Nanobyte 2021-01-05 01:22:02 +01:00
parent aabeb5f493
commit 87d2827f0f
2 changed files with 1 additions and 2 deletions

View file

@ -5,7 +5,6 @@ import {YouTubeAPI} from '../utils/youtubeApi';
import {getSubmissionUUID} from '../utils/getSubmissionUUID';
import fetch from 'node-fetch';
import isoDurations from 'iso8601-duration';
import fetch from 'node-fetch';
import {getHash} from '../utils/getHash';
import {getIP} from '../utils/getIP';
import {getFormattedTime} from '../utils/getFormattedTime';

View file

@ -46,7 +46,7 @@ function dispatchEvent(scope: string, data: any): void {
})
.catch(err => {
Logger.warn('Couldn\'t send webhook to ' + webhook.url);
Logger.warn(e.message);
Logger.warn(err);
});
});
}