Fix notifier messages/titles.

This commit is contained in:
John Livingston
2024-06-13 15:01:31 +02:00
parent 63d8e9789e
commit 8dede18070
2 changed files with 3 additions and 3 deletions

View File

@ -241,9 +241,9 @@ function register (clientOptions: RegisterClientOptions): void {
}
})
}
} catch (error) {
} catch (error: any) {
console.error(error)
peertubeHelpers.notifier.error('Room list failed')
peertubeHelpers.notifier.error(error.toString(), await peertubeHelpers.translate(LOC_LOADING_ERROR))
}
}
})