elixir_error.json 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  1. {
  2. "breadcrumbs": [],
  3. "culprit": "FakeModule.fake_function/0",
  4. "environment": "dev",
  5. "event_id": "af7344af737b4811b76fc343679d6e0d",
  6. "exception": [
  7. {
  8. "module": null,
  9. "type": "UndefinedFunctionError",
  10. "value": "function FakeModule.fake_function/0 is undefined (module FakeModule is not available)"
  11. }
  12. ],
  13. "extra": {},
  14. "fingerprint": ["{{ default }}"],
  15. "level": "error",
  16. "message": "(UndefinedFunctionError function FakeModule.fake_function/0 is undefined (module FakeModule is not available))",
  17. "modules": {
  18. "certifi": "2.6.1",
  19. "cowboy": "2.9.0"
  20. },
  21. "platform": "elixir",
  22. "release": null,
  23. "request": {
  24. "cookies": {},
  25. "data": {},
  26. "env": {
  27. "REMOTE_ADDR": "172.22.0.1",
  28. "REMOTE_PORT": 46540,
  29. "REQUEST_ID": "FqkRZUiQv2bmx68AAAAE",
  30. "SERVER_NAME": "localhost",
  31. "SERVER_PORT": 4000
  32. },
  33. "headers": {
  34. "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8",
  35. "accept-encoding": "gzip, deflate",
  36. "accept-language": "en-US,en;q=0.5",
  37. "cache-control": "max-age=0",
  38. "connection": "keep-alive",
  39. "dnt": "1",
  40. "host": "localhost:4000",
  41. "upgrade-insecure-requests": "1",
  42. "user-agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:92.0) Gecko/20100101 Firefox/92.0"
  43. },
  44. "method": "GET",
  45. "query_string": "",
  46. "url": "http://localhost:4000/"
  47. },
  48. "server_name": "08e6ad5340a9",
  49. "stacktrace": {
  50. "frames": [
  51. {
  52. "context_line": null,
  53. "filename": "proc_lib.erl",
  54. "function": ":proc_lib.init_p_do_apply/3",
  55. "in_app": false,
  56. "lineno": 226,
  57. "module": "proc_lib",
  58. "post_context": [],
  59. "pre_context": [],
  60. "vars": {}
  61. },
  62. {
  63. "context_line": null,
  64. "filename": "/app/deps/cowboy/src/cowboy_stream_h.erl",
  65. "function": ":cowboy_stream_h.request_process/3",
  66. "in_app": false,
  67. "lineno": 295,
  68. "module": "cowboy_stream_h",
  69. "post_context": [],
  70. "pre_context": [],
  71. "vars": {}
  72. },
  73. {
  74. "context_line": null,
  75. "filename": "/app/deps/cowboy/src/cowboy_stream_h.erl",
  76. "function": ":cowboy_stream_h.execute/3",
  77. "in_app": false,
  78. "lineno": 306,
  79. "module": "cowboy_stream_h",
  80. "post_context": [],
  81. "pre_context": [],
  82. "vars": {}
  83. },
  84. {
  85. "context_line": null,
  86. "filename": "/app/deps/cowboy/src/cowboy_handler.erl",
  87. "function": ":cowboy_handler.execute/2",
  88. "in_app": false,
  89. "lineno": 37,
  90. "module": "cowboy_handler",
  91. "post_context": [],
  92. "pre_context": [],
  93. "vars": {}
  94. },
  95. {
  96. "context_line": null,
  97. "filename": "lib/phoenix/endpoint/cowboy2_handler.ex",
  98. "function": "Phoenix.Endpoint.Cowboy2Handler.init/4",
  99. "in_app": false,
  100. "lineno": 43,
  101. "module": "Elixir.Phoenix.Endpoint.Cowboy2Handler",
  102. "post_context": [],
  103. "pre_context": [],
  104. "vars": {}
  105. },
  106. {
  107. "context_line": "defmodule GlitchtipErrorFactoryWeb.Endpoint do",
  108. "filename": "lib/glitchtip_error_factory_web/endpoint.ex",
  109. "function": "GlitchtipErrorFactoryWeb.Endpoint.call/2",
  110. "in_app": false,
  111. "lineno": 1,
  112. "module": "Elixir.GlitchtipErrorFactoryWeb.Endpoint",
  113. "post_context": [
  114. " use Sentry.PlugCapture",
  115. " use Phoenix.Endpoint, otp_app: :glitchtip_error_factory",
  116. ""
  117. ],
  118. "pre_context": [],
  119. "vars": {}
  120. },
  121. {
  122. "context_line": null,
  123. "filename": "lib/plug/debugger.ex",
  124. "function": "GlitchtipErrorFactoryWeb.Endpoint.\"call (overridable 4)\"/2",
  125. "in_app": false,
  126. "lineno": 136,
  127. "module": "Elixir.GlitchtipErrorFactoryWeb.Endpoint",
  128. "post_context": [],
  129. "pre_context": [],
  130. "vars": {}
  131. },
  132. {
  133. "context_line": "defmodule GlitchtipErrorFactoryWeb.Endpoint do",
  134. "filename": "lib/glitchtip_error_factory_web/endpoint.ex",
  135. "function": "GlitchtipErrorFactoryWeb.Endpoint.\"call (overridable 3)\"/2",
  136. "in_app": false,
  137. "lineno": 1,
  138. "module": "Elixir.GlitchtipErrorFactoryWeb.Endpoint",
  139. "post_context": [
  140. " use Sentry.PlugCapture",
  141. " use Phoenix.Endpoint, otp_app: :glitchtip_error_factory",
  142. ""
  143. ],
  144. "pre_context": [],
  145. "vars": {}
  146. },
  147. {
  148. "context_line": "defmodule GlitchtipErrorFactoryWeb.Endpoint do",
  149. "filename": "lib/glitchtip_error_factory_web/endpoint.ex",
  150. "function": "GlitchtipErrorFactoryWeb.Endpoint.plug_builder_call/2",
  151. "in_app": false,
  152. "lineno": 1,
  153. "module": "Elixir.GlitchtipErrorFactoryWeb.Endpoint",
  154. "post_context": [
  155. " use Sentry.PlugCapture",
  156. " use Phoenix.Endpoint, otp_app: :glitchtip_error_factory",
  157. ""
  158. ],
  159. "pre_context": [],
  160. "vars": {}
  161. },
  162. {
  163. "context_line": null,
  164. "filename": "lib/phoenix/router.ex",
  165. "function": "Phoenix.Router.__call__/2",
  166. "in_app": false,
  167. "lineno": 355,
  168. "module": "Elixir.Phoenix.Router",
  169. "post_context": [],
  170. "pre_context": [],
  171. "vars": {}
  172. },
  173. {
  174. "context_line": "defmodule GlitchtipErrorFactoryWeb.HomeController do",
  175. "filename": "lib/glitchtip_error_factory_web/controllers/home_controller.ex",
  176. "function": "GlitchtipErrorFactoryWeb.HomeController.phoenix_controller_pipeline/2",
  177. "in_app": false,
  178. "lineno": 1,
  179. "module": "Elixir.GlitchtipErrorFactoryWeb.HomeController",
  180. "post_context": [
  181. " use GlitchtipErrorFactoryWeb, :controller",
  182. "",
  183. " def index(conn, _params) do"
  184. ],
  185. "pre_context": [],
  186. "vars": {}
  187. },
  188. {
  189. "context_line": "defmodule GlitchtipErrorFactoryWeb.HomeController do",
  190. "filename": "lib/glitchtip_error_factory_web/controllers/home_controller.ex",
  191. "function": "GlitchtipErrorFactoryWeb.HomeController.action/2",
  192. "in_app": false,
  193. "lineno": 1,
  194. "module": "Elixir.GlitchtipErrorFactoryWeb.HomeController",
  195. "post_context": [
  196. " use GlitchtipErrorFactoryWeb, :controller",
  197. "",
  198. " def index(conn, _params) do"
  199. ],
  200. "pre_context": [],
  201. "vars": {}
  202. },
  203. {
  204. "context_line": null,
  205. "filename": null,
  206. "function": "FakeModule.fake_function/0",
  207. "in_app": false,
  208. "lineno": null,
  209. "module": "Elixir.FakeModule",
  210. "post_context": [],
  211. "pre_context": [],
  212. "vars": {}
  213. }
  214. ]
  215. },
  216. "tags": {},
  217. "timestamp": "2021-09-28T18:57:46",
  218. "user": {}
  219. }