[mirotalk] - update dep
This commit is contained in:
+3
-6
@@ -9,7 +9,6 @@ http://patorjk.com/software/taag/#p=display&f=ANSI%20Regular&t=Server
|
||||
|
||||
dependencies: {
|
||||
@sentry/node : https://www.npmjs.com/package/@sentry/node
|
||||
@sentry/integrations : https://www.npmjs.com/package/@sentry/integrations
|
||||
axios : https://www.npmjs.com/package/axios
|
||||
body-parser : https://www.npmjs.com/package/body-parser
|
||||
compression : https://www.npmjs.com/package/compression
|
||||
@@ -40,7 +39,7 @@ dependencies: {
|
||||
* @license For commercial use or closed source, contact us at license.mirotalk@gmail.com or purchase directly from CodeCanyon
|
||||
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-p2p-webrtc-realtime-video-conferences/38376661
|
||||
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
|
||||
* @version 1.3.65
|
||||
* @version 1.3.66
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -222,7 +221,6 @@ const redirectURL = process.env.REDIRECT_URL || '/newcall';
|
||||
|
||||
// Sentry config
|
||||
const Sentry = require('@sentry/node');
|
||||
const { CaptureConsole } = require('@sentry/integrations');
|
||||
const sentryEnabled = getEnvBoolean(process.env.SENTRY_ENABLED);
|
||||
const sentryDSN = process.env.SENTRY_DSN;
|
||||
const sentryTracesSampleRate = process.env.SENTRY_TRACES_SAMPLE_RATE;
|
||||
@@ -239,9 +237,8 @@ if (sentryEnabled) {
|
||||
Sentry.init({
|
||||
dsn: sentryDSN,
|
||||
integrations: [
|
||||
new CaptureConsole({
|
||||
// array of methods that should be captured
|
||||
// defaults to ['log', 'info', 'warn', 'error', 'debug', 'assert']
|
||||
Sentry.captureConsoleIntegration({
|
||||
// ['log', 'info', 'warn', 'error', 'debug', 'assert']
|
||||
levels: ['warn', 'error'],
|
||||
}),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user