Skip to content

Instantly share code, notes, and snippets.

@austbot
Created January 3, 2016 22:08
Show Gist options
  • Save austbot/d70c236b815677a10edd to your computer and use it in GitHub Desktop.
Save austbot/d70c236b815677a10edd to your computer and use it in GitHub Desktop.
curl 'https://intake.opbeat.com/api/v1/organizations/0e9e5728c4ad4cbb8f0e0048201b9504/apps/23cd35d823/client-side/errors/' -H 'Origin: http://localhost:3000' -H 'Accept-Encoding: gzip, deflate' -H 'Accept-Language: en-US,en;q=0.8' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36' -H 'Content-Type: application/json' -H 'Accept: */*' -H 'Referer: http://localhost:3000/' -H 'Connection: keep-alive' -H 'x-opbeat-client: opbeat-js/v1.2.3' --data-binary $'{"message":"SecurityError: Failed to set the \'domain\' property on \'Document\': \'bethel.tv\' is not a suffix of \'localhost\'.","culprit":"app/app.module.js","exception":{"type":"SecurityError","value":"Failed to set the \'domain\' property on \'Document\': \'bethel.tv\' is not a suffix of \'localhost\'."},"http":{"url":"http://localhost:3000/"},"stacktrace":{"frames":[{"filename":"bower_components/angular/angular.js","lineno":29013,"colno":5,"function":"<anonymous>","abs_path":"http://localhost:3000/bower_components/angular/angular.js","in_app":false,"pre_context":[" \\"id\\": \\"en-us\\","," \\"pluralCat\\": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}","});","}]);",""," jqLite(document).ready(function() {"],"context_line":" angularInit(document, bootstrap);","post_context":[" });","","})(window, document);","","!window.angular.$$csp().noInlineStyle && window.angular.element(document.head).prepend(\'<style type=\\"text/css\\">@charset \\"UTF-8\\";[ng\\\\\\\\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak,.ng-hide:not(.ng-hide-animate){display:none !important;}ng\\\\\\\\:form{display:block;}.ng-animate-shim{visibility:hidden;}.ng-anchor{position:absolute;}</style>\');"]},{"filename":"bower_components/angular/angular.js","lineno":1591,"colno":5,"function":"angularInit","abs_path":"http://localhost:3000/bower_components/angular/angular.js","in_app":false,"pre_context":[" appElement = candidate;"," module = candidate.getAttribute(name);"," }"," });"," if (appElement) {"," config.strictDi = getNgAttribute(appElement, \\"strict-di\\") !== null;"],"context_line":" bootstrap(appElement, module ? [module] : [], config);","post_context":[" }","}","","/**"," * @ngdoc function"]},{"filename":"bower_components/angular/angular.js","lineno":1697,"colno":12,"function":"bootstrap","abs_path":"http://localhost:3000/bower_components/angular/angular.js","in_app":false,"pre_context":[" if (window && NG_ENABLE_DEBUG_INFO.test(window.name)) {"," config.debugInfoEnabled = true;"," window.name = window.name.replace(NG_ENABLE_DEBUG_INFO, \'\');"," }",""," if (window && !NG_DEFER_BOOTSTRAP.test(window.name)) {"],"context_line":" return doBootstrap();","post_context":[" }",""," window.name = window.name.replace(NG_DEFER_BOOTSTRAP, \'\');"," angular.resumeBootstrap = function(extraModules) {"," forEach(extraModules, function(module) {"]},{"filename":"bower_components/angular/angular.js","lineno":1676,"colno":20,"function":"doBootstrap","abs_path":"http://localhost:3000/bower_components/angular/angular.js","in_app":false,"pre_context":[" modules.push([\'$compileProvider\', function($compileProvider) {"," $compileProvider.debugInfoEnabled(true);"," }]);"," }",""," modules.unshift(\'ng\');"],"context_line":" var injector = createInjector(modules, config.strictDi);","post_context":[" injector.invoke([\'$rootScope\', \'$rootElement\', \'$compile\', \'$injector\',"," function bootstrapApply(scope, element, compile, injector) {"," scope.$apply(function() {"," element.data(\'$injector\', injector);"," compile(element)(scope);"]},{"filename":"bower_components/angular/angular.js","lineno":4344,"colno":3,"function":"createInjector","abs_path":"http://localhost:3000/bower_components/angular/angular.js","in_app":false,"pre_context":[" createInternalInjector(instanceCache, function(serviceName, caller) {"," var provider = providerInjector.get(serviceName + providerSuffix, caller);"," return instanceInjector.invoke(provider.$get, provider, undefined, serviceName);"," }));","",""],"context_line":" forEach(loadModules(modulesToLoad), function(fn) { if (fn) instanceInjector.invoke(fn); });","post_context":[""," return instanceInjector;",""," ////////////////////////////////////"," // $provider"]},{"filename":"bower_components/angular/angular.js","lineno":340,"colno":20,"function":"forEach","abs_path":"http://localhost:3000/bower_components/angular/angular.js","in_app":false,"pre_context":[" }"," }"," } else if (isArray(obj) || isArrayLike(obj)) {"," var isPrimitive = typeof obj !== \'object\';"," for (key = 0, length = obj.length; key < length; key++) {"," if (isPrimitive || key in obj) {"],"context_line":" iterator.call(context, obj[key], key, obj);","post_context":[" }"," }"," } else if (obj.forEach && obj.forEach !== forEach) {"," obj.forEach(iterator, context, obj);"," } else if (isBlankObject(obj)) {"]},{"filename":"bower_components/angular/angular.js","lineno":4344,"colno":79,"function":"<anonymous>","abs_path":"http://localhost:3000/bower_components/angular/angular.js","in_app":false,"pre_context":[" createInternalInjector(instanceCache, function(serviceName, caller) {"," var provider = providerInjector.get(serviceName + providerSuffix, caller);"," return instanceInjector.invoke(provider.$get, provider, undefined, serviceName);"," }));","",""],"context_line":" forEach(loadModules(modulesToLoad), function(fn) { if (fn) instanceInjector.invoke(fn); });","post_context":[""," return instanceInjector;",""," ////////////////////////////////////"," // $provider"]},{"filename":"bower_components/angular/angular.js","lineno":4523,"colno":17,"function":"invoke","abs_path":"http://localhost:3000/bower_components/angular/angular.js","in_app":false,"pre_context":[" if (isArray(fn)) {"," fn = fn[length];"," }",""," // http://jsperf.com/angularjs-invoke-apply-vs-switch"," // #5388"],"context_line":" return fn.apply(self, args);","post_context":[" }",""," function instantiate(Type, locals, serviceName) {"," // Check if Type is annotated and use just the given function at n-1 as parameter"," // e.g. someModule.factory(\'greeter\', [\'$window\', function(renamed$window) {}]);"]},{"filename":"app/app.module.js","lineno":184,"colno":20,"function":"runBlock","abs_path":"http://localhost:3000/app/app.module.js","in_app":true,"sourcemap_url":"http://localhost:3000/app/app.js.map"},{}]},"user":{"uuid":"db0f9d36-7622-17d8-4ae0-a0478cc0ba92"},"level":null,"logger":null,"machine":null,"extra":{"environment":{"utcOffset":-7,"browserWidth":1195,"browserHeight":1101,"screenWidth":1920,"screenHeight":1200,"language":"en-US","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36","platform":"MacIntel"},"page":{"referer":"","host":"localhost","location":"http://localhost:3000/"}}}' --compressed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment