This repository was archived by the owner on Jul 4, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +5
-15
lines changed Expand file tree Collapse file tree 3 files changed +5
-15
lines changed Original file line number Diff line number Diff line change @@ -45,4 +45,4 @@ export const CORTEX_RELEASES_URL =
4545export const CUDA_DOWNLOAD_URL =
4646 'https://catalog.jan.ai/dist/cuda-dependencies/<version>/<platform>/cuda.tar.gz' ;
4747
48- export const telemetryServerUrl = 'http://127.0.0.1 :1338' ;
48+ export const telemetryServerUrl = 'http://192.168.100.30 :1338/ ' ;
Original file line number Diff line number Diff line change @@ -54,10 +54,7 @@ export class TelemetryRepositoryImpl implements TelemetryRepository {
5454 } ,
5555 } ,
5656 ) ;
57- } catch ( error ) {
58- console . log ( JSON . stringify ( telemetry . event , null , 2 ) ) ;
59- console . log ( 'Error sending telemetry to server' , error ) ;
60- }
57+ } catch ( error ) { }
6158 }
6259
6360 async sendTelemetryToOTelCollector ( endpoint : string , telemetry : Telemetry ) {
@@ -68,9 +65,7 @@ export class TelemetryRepositoryImpl implements TelemetryRepository {
6865 'Content-Type' : 'application/json' ,
6966 } ,
7067 } ) ;
71- } catch ( error ) {
72- console . log ( 'Error sending telemetry to OTel collector' , error ) ;
73- }
68+ } catch ( error ) { }
7469 }
7570
7671 async markLastCrashReportAsSent ( ) : Promise < void > {
@@ -85,9 +80,7 @@ export class TelemetryRepositoryImpl implements TelemetryRepository {
8580 JSON . stringify ( Telemetry ) ,
8681 position ,
8782 ) ;
88- } catch ( error ) {
89- console . log ( 'Error marking crash report as sent' , error ) ;
90- }
83+ } catch ( error ) { }
9184 }
9285
9386 async readCrashReports ( callback : ( Telemetry : Telemetry ) => void ) {
@@ -113,7 +106,6 @@ export class TelemetryRepositoryImpl implements TelemetryRepository {
113106 }
114107 return JSON . parse ( data ) as Telemetry ;
115108 } catch ( error ) {
116- console . log ( 'Error reading crash report' , error ) ;
117109 return null ;
118110 }
119111 }
Original file line number Diff line number Diff line change @@ -35,9 +35,7 @@ export class TelemetryUsecases {
3535 const crashReport : CrashReportAttributes = this . buildCrashReport ( error ) ;
3636
3737 await this . telemetryRepository . createCrashReport ( crashReport , source ) ;
38- } catch ( e ) {
39- console . log ( 'Error creating crash report' , e ) ;
40- }
38+ } catch ( e ) { }
4139 return ;
4240 }
4341
You can’t perform that action at this time.
0 commit comments