tombstones.js 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. export function Tombstones(params = []) {
  2. return [
  3. {
  4. culprit: 'poll(../../sentry/scripts/views.js)',
  5. level: 'error',
  6. actor: {
  7. username: 'billy@sentry.io',
  8. emails: [
  9. {is_verified: false, id: '28', email: 'test@test.com'},
  10. {is_verified: false, id: '17', email: 'billy36@sentry.io'},
  11. {is_verified: false, id: '11', email: 'awerawer@awe.com'},
  12. {is_verified: true, id: '10', email: 'billy2@sentry.io'},
  13. {is_verified: true, id: '5', email: 'billy@sentry.io'},
  14. ],
  15. isManaged: false,
  16. lastActive: '2018-02-21T01:27:52.255Z',
  17. identities: [
  18. {
  19. name: '79684',
  20. dateVerified: '2018-02-21T00:52:40.149Z',
  21. provider: {id: 'github', name: 'GitHub'},
  22. dateSynced: '2018-02-21T00:52:40.149Z',
  23. organization: {slug: 'default', name: 'default'},
  24. id: '1',
  25. },
  26. ],
  27. id: '1',
  28. isActive: true,
  29. has2fa: true,
  30. name: 'billy vong',
  31. avatarUrl:
  32. 'https://secure.gravatar.com/avatar/7b544e8eb9d08ed777be5aa82121155a?s=32&d=mm',
  33. dateJoined: '2018-01-10T00:19:59Z',
  34. options: {
  35. timezone: 'America/Los_Angeles',
  36. seenReleaseBroadcast: true,
  37. stacktraceOrder: -1,
  38. language: 'en',
  39. clock24Hours: false,
  40. },
  41. avatar: {
  42. avatarUuid: '483ed7478a2248d59211f538c2997e0b',
  43. avatarType: 'letter_avatar',
  44. },
  45. lastLogin: '2018-02-14T07:09:37.536Z',
  46. permissions: [],
  47. email: 'billy@sentry.io',
  48. },
  49. message:
  50. "This is an example JavaScript exception TypeError Object [object Object] has no method 'updateFrom' poll(../../sentry/scripts/views.js)",
  51. type: 'error',
  52. id: '1',
  53. metadata: {
  54. type: 'TypeError',
  55. value: "Object [object Object] has no method 'updateFrom'",
  56. },
  57. },
  58. ...params,
  59. ];
  60. }