Kaynağa Gözat

refactor: improved some errors messages in EditSong

Kristian Vos 2 yıl önce
ebeveyn
işleme
ade2ec682f

+ 6 - 2
frontend/src/components/modals/EditSong/index.vue

@@ -1712,7 +1712,9 @@ export default {
 						});
 					else throw new Error("No title found");
 				} catch (e) {
-					new Toast("Unable to fetch YouTube video title");
+					new Toast(
+						"Unable to fetch YouTube video title. Try starting the video."
+					);
 				}
 			}
 			if (type === "thumbnail")
@@ -1727,7 +1729,9 @@ export default {
 					if (author) this.artistInputValue = author;
 					else throw new Error("No video author found");
 				} catch (e) {
-					new Toast("Unable to fetch YouTube video author");
+					new Toast(
+						"Unable to fetch YouTube video author. Try starting the video."
+					);
 				}
 			}
 		},