Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mchambaud/ba67b0a6dfdb99e378b2 to your computer and use it in GitHub Desktop.
Save mchambaud/ba67b0a6dfdb99e378b2 to your computer and use it in GitHub Desktop.
Angular-translate-handler-log using raygun
angular.module('pascalprecht.translate')
.factory('$translateMissingTranslationHandlerLogRaygun', function ($window) {
return function (translationId) {
$window.Raygun.send('Missing Translation', {translationKey: translationId});
};
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment