mirror of
https://github.com/immich-app/immich.git
synced 2026-06-12 11:01:45 -07:00
chore(server): update asset not ready error messages (#28968)
This commit is contained in:
@@ -58,7 +58,7 @@ export class HlsService extends BaseService {
|
||||
|
||||
const asset = await this.videoStreamRepository.getForMainPlaylist(assetId);
|
||||
if (!asset) {
|
||||
throw new NotFoundException('Asset is not yet ready for streaming');
|
||||
throw new NotFoundException('Asset metadata is not yet ready for streaming');
|
||||
}
|
||||
|
||||
// Sharing the sessionId allows only one microservices worker to successfully insert to the session table.
|
||||
@@ -76,7 +76,7 @@ export class HlsService extends BaseService {
|
||||
|
||||
const asset = await this.videoStreamRepository.getForMediaPlaylist(assetId, sessionId);
|
||||
if (!asset) {
|
||||
throw new NotFoundException('Asset not found or not yet ready for streaming');
|
||||
throw new NotFoundException('Asset not found or metadata not yet ready for streaming');
|
||||
}
|
||||
|
||||
return this.generateMediaPlaylist(asset);
|
||||
|
||||
Reference in New Issue
Block a user