diff options
author | Chocobozzz <me@florianbigard.com> | 2022-07-15 15:30:14 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-07-18 11:37:18 +0200 |
commit | 42b40636991b97fe818007fab19091764fc5db73 (patch) | |
tree | db431787c06ce898d22e91ff771f795219274fc6 /client/src/app/+video-studio | |
parent | 654d4ede7fa4d0faa71e49bcfab6b65a686397b2 (diff) | |
download | PeerTube-42b40636991b97fe818007fab19091764fc5db73.tar.gz PeerTube-42b40636991b97fe818007fab19091764fc5db73.tar.zst PeerTube-42b40636991b97fe818007fab19091764fc5db73.zip |
Add ability for client to create server logs
Diffstat (limited to 'client/src/app/+video-studio')
-rw-r--r-- | client/src/app/+video-studio/edit/video-studio-edit.component.ts | 3 |
1 files changed, 2 insertions, 1 deletions
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' | |||
4 | import { FormReactive, FormValidatorService } from '@app/shared/shared-forms' | 4 | import { FormReactive, FormValidatorService } from '@app/shared/shared-forms' |
5 | import { VideoDetails } from '@app/shared/shared-main' | 5 | import { VideoDetails } from '@app/shared/shared-main' |
6 | import { LoadingBarService } from '@ngx-loading-bar/core' | 6 | import { LoadingBarService } from '@ngx-loading-bar/core' |
7 | import { logger } from '@root-helpers/logger' | ||
7 | import { secondsToTime } from '@shared/core-utils' | 8 | import { secondsToTime } from '@shared/core-utils' |
8 | import { VideoStudioTask, VideoStudioTaskCut } from '@shared/models' | 9 | import { VideoStudioTask, VideoStudioTaskCut } from '@shared/models' |
9 | import { VideoStudioService } from '../shared' | 10 | import { VideoStudioService } from '../shared' |
@@ -97,7 +98,7 @@ export class VideoStudioEditComponent extends FormReactive implements OnInit { | |||
97 | this.loadingBar.useRef().complete() | 98 | this.loadingBar.useRef().complete() |
98 | this.isRunningEdition = false | 99 | this.isRunningEdition = false |
99 | this.notifier.error(err.message) | 100 | this.notifier.error(err.message) |
100 | console.error(err) | 101 | logger.error(err) |
101 | } | 102 | } |
102 | }) | 103 | }) |
103 | } | 104 | } |