From 42b40636991b97fe818007fab19091764fc5db73 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 15 Jul 2022 15:30:14 +0200 Subject: Add ability for client to create server logs --- client/src/app/+video-studio/edit/video-studio-edit.component.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'client/src/app/+video-studio/edit/video-studio-edit.component.ts') diff --git a/client/src/app/+video-studio/edit/video-studio-edit.component.ts b/client/src/app/+video-studio/edit/video-studio-edit.component.ts index 392b65767..bf91c237a 100644 --- a/client/src/app/+video-studio/edit/video-studio-edit.component.ts +++ b/client/src/app/+video-studio/edit/video-studio-edit.component.ts @@ -4,6 +4,7 @@ import { ConfirmService, Notifier, ServerService } from '@app/core' import { FormReactive, FormValidatorService } from '@app/shared/shared-forms' import { VideoDetails } from '@app/shared/shared-main' import { LoadingBarService } from '@ngx-loading-bar/core' +import { logger } from '@root-helpers/logger' import { secondsToTime } from '@shared/core-utils' import { VideoStudioTask, VideoStudioTaskCut } from '@shared/models' import { VideoStudioService } from '../shared' @@ -97,7 +98,7 @@ export class VideoStudioEditComponent extends FormReactive implements OnInit { this.loadingBar.useRef().complete() this.isRunningEdition = false this.notifier.error(err.message) - console.error(err) + logger.error(err) } }) } -- cgit v1.2.3