Skip to content

Commit d7cc1b2

Browse files
Merge pull request #111 from alanconway/main
fix(minor): Typo in error message, not using string expansion.
2 parents 30c98f8 + 23d7477 commit d7cc1b2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

web/src/korrel8r/metric.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export class MetricNode extends Korrel8rNode {
1414
static fromURL(url: string): Korrel8rNode {
1515
const [, params] = parseURL('metric', 'monitoring/query-browser', url);
1616
const promqlQuery = params.get('query0');
17-
if (!promqlQuery) throw new NodeError('Invalid metric URL: ${url}');
17+
if (!promqlQuery) throw new NodeError(`Invalid metric URL: ${url}`);
1818
const query = `metric:metric:${promqlQuery}`;
1919

2020
return new MetricNode(url, query);

0 commit comments

Comments
 (0)