diff --git a/ui/packages/consul-ui/app/helpers/href-to.js b/ui/packages/consul-ui/app/helpers/href-to.js index bd05149349..9a695ee8e0 100644 --- a/ui/packages/consul-ui/app/helpers/href-to.js +++ b/ui/packages/consul-ui/app/helpers/href-to.js @@ -42,7 +42,14 @@ export default class HrefToHelper extends Helper { @service('router') router; compute(params, hash) { - return hrefTo(this, this.router, params, hash); + let href; + try { + href = hrefTo(this, this.router, params, hash); + } catch (e) { + e.message = `${e.message} For "${params[0]}:${JSON.stringify(params.slice(1))}"`; + throw e; + } + return href; } @observes('router.currentURL')