Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

$templateCache / $compile loses error context when HTTP request for template fails #10514

Closed
@niallsmart

Description

@niallsmart

The $templateCache service throws an exception if the HTTP request to fetch the template fails, however the exception message contains no useful context other than the fact that the request failed.

The exception should include the error code and other context.

https://github.com/angular/angular.js/blob/g3_v1_3/src/ng/templateRequest.js#L52

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions