From 6b3685ba091465d7c9d50bd86941c800066c5746 Mon Sep 17 00:00:00 2001 From: Liam Cardenas Date: Wed, 6 Dec 2017 12:38:07 -0800 Subject: [PATCH] Added more understandable error message --- src/renderer/js/redux/actions/content.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/renderer/js/redux/actions/content.js b/src/renderer/js/redux/actions/content.js index ab3b630a8..cb0b3d766 100644 --- a/src/renderer/js/redux/actions/content.js +++ b/src/renderer/js/redux/actions/content.js @@ -280,13 +280,17 @@ export function doLoadVideo(uri) { dispatch(doDownloadFile(uri, streamInfo)); } }) - .catch(error => { + .catch(() => { dispatch(doSetPlayingUri(null)); dispatch({ type: types.LOADING_VIDEO_FAILED, data: { uri }, }); - dispatch(doAlertError(error)); + dispatch( + doAlertError( + `Failed to download ${uri}, please try again. If this problem persists, visit https://lbry.io/faq/support for support.` + ) + ); }); }; }