fix(sync): 403 InnerTube = version client inventée; aligne WEB 2.20260623.01.00 + expose ytReason
This commit is contained in:
@@ -157,7 +157,9 @@ export class ImportComponent implements OnInit {
|
||||
} catch (e: any) {
|
||||
const code = e?.error?.error || e?.message || 'ythistory_fetch_failed';
|
||||
const hint = e?.error?.hint;
|
||||
this.ytAutoError.set(hint ? `${code} — ${hint}` : code);
|
||||
const ytReason = e?.error?.ytReason;
|
||||
const extra = [hint, ytReason ? `YouTube: ${ytReason}` : ''].filter(Boolean).join(' — ');
|
||||
this.ytAutoError.set(extra ? `${code} — ${extra}` : code);
|
||||
} finally {
|
||||
this.ytAutoLoading.set(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user