diff --git a/src/input-track.ts b/src/input-track.ts index a735425..bf14088 100644 --- a/src/input-track.ts +++ b/src/input-track.ts @@ -474,7 +474,8 @@ export abstract class InputTrack { const requireSync = (value: MaybePromise, getterName: string, asyncName: string): T => { if (value instanceof Promise) { throw new Error( - `'${getterName}' is not available synchronously for this track. Use '${asyncName}()' instead.`, + `'${getterName}' is deprecated and not available synchronously for this track. Use the preferred` + + ` '${asyncName}()' instead.`, ); } return value;