Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • 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