Skip to content

Commit

Permalink
Merge pull request #39 from snejati86/master
Browse files Browse the repository at this point in the history
Updating the error to include the information about the target type requested.
  • Loading branch information
thiagobustamante committed Aug 9, 2018
2 parents 9d3da21 + 571b8ea commit 9a98e80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/typescript-ioc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -594,6 +594,6 @@ class InjectorHanlder {
return <FunctionConstructor>typeConstructor;
}
}
throw TypeError('Can not identify the base Type for requested target');
throw TypeError('Can not identify the base Type for requested target ' + target.toString());
}
}

0 comments on commit 9a98e80

Please sign in to comment.