Skip to content

Commit

Permalink
feat(Beatport): Include GTIN value in search error message
Browse files Browse the repository at this point in the history
  • Loading branch information
kellnerd committed Jul 8, 2024
1 parent db4e0ef commit 9e2d116
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion providers/Beatport/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export class BeatportReleaseLookup extends ReleaseLookup<BeatportProvider, Relea
if (this.lookup.method === 'gtin') {
const id = await this.searchReleaseByGtin(this.lookup.value);
if (!id) {
throw new ProviderError(this.provider.name, 'Search returned no matching results');
throw new ProviderError(this.provider.name, `Search returned no matching results for '${this.lookup.value}'`);
}

releaseId = id;
Expand Down

0 comments on commit 9e2d116

Please sign in to comment.