We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27c050b commit 1fb9484Copy full SHA for 1fb9484
modules/angular2/src/router/route_registry.ts
@@ -167,7 +167,8 @@ export class RouteRegistry {
167
}
168
169
if (normalizedLinkParams.length < 2) {
170
- throw new BaseException(`Link "${ListWrapper.toJSON(linkParams)}" must include a route name.`);
+ let msg = `Link "${ListWrapper.toJSON(linkParams)}" must include a route name.`;
171
+ throw new BaseException(msg);
172
173
174
for (let i = 1; i < normalizedLinkParams.length; i += 1) {
0 commit comments