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/standalone/videos/shared/player-manager-options.ts | |
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/standalone/videos/shared/player-manager-options.ts')
-rw-r--r-- | client/src/standalone/videos/shared/player-manager-options.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/standalone/videos/shared/player-manager-options.ts b/client/src/standalone/videos/shared/player-manager-options.ts index f3bd46a69..2eeb5ecac 100644 --- a/client/src/standalone/videos/shared/player-manager-options.ts +++ b/client/src/standalone/videos/shared/player-manager-options.ts | |||
@@ -14,6 +14,7 @@ import { | |||
14 | getParamString, | 14 | getParamString, |
15 | getParamToggle, | 15 | getParamToggle, |
16 | isP2PEnabled, | 16 | isP2PEnabled, |
17 | logger, | ||
17 | peertubeLocalStorage, | 18 | peertubeLocalStorage, |
18 | UserLocalStorageKeys | 19 | UserLocalStorageKeys |
19 | } from '../../../root-helpers' | 20 | } from '../../../root-helpers' |
@@ -137,7 +138,7 @@ export class PlayerManagerOptions { | |||
137 | else this.mode = 'webtorrent' | 138 | else this.mode = 'webtorrent' |
138 | } | 139 | } |
139 | } catch (err) { | 140 | } catch (err) { |
140 | console.error('Cannot get params from URL.', err) | 141 | logger.error('Cannot get params from URL.', err) |
141 | } | 142 | } |
142 | } | 143 | } |
143 | 144 | ||