+import { logger } from '@root-helpers/logger'
+
function getStoredVolume () {
const value = getLocalStorage('volume')
if (value !== null && value !== undefined) {
data = JSON.parse(value)
} catch (error) {
- console.error('Cannot parse video watch history from local storage: ', error)
+ logger.error('Cannot parse video watch history from local storage/', error)
}
data = data || {}