Closed
Description
Minified angular minErr
errors don't contain the description (see the very beginning of minified angular 1.6.5):
(function(F){'use strict';function O(a){return function(){var b=arguments[0],d;d="["+(a?a+":":"")+b+"] http://errors.angularjs.org/1.5.6/"+(a?a+"/":"")...
They only contain the identifier (e.g. [ngRepeat:dupes]
) and then there's an URL with no message nor a new line character angular plugin depends on.
The quickest & dirtiest fix I found for that was to make the new line optional:
/^\[((?:[$a-zA-Z0-9]+:)?(?:[$a-zA-Z0-9]+))\] (.+?)\n(\S+)$/
/^\[((?:[$a-zA-Z0-9]+:)?(?:[$a-zA-Z0-9]+))\] (.+?)\n?(\S+)$/
but then URL is missing the first letter ('h'
) and it becomes the message
Better regexp is needed.
Metadata
Metadata
Assignees
Labels
No labels