{"push_id":3009340826,"size":1,"distinct_size":1,"ref":"refs/heads/martoon/error-callstack","head":"594b99c26060df6a71ddea371460bb61c4d9f56c","before":"6f3d426419c57b35d902d648124ba58588830f41","commits":[{"sha":"594b99c26060df6a71ddea371460bb61c4d9f56c","author":{"name":"martoon","email":"214096d65abc9b435d48c35d5a07a6f9002b9d95@gmail.com"},"message":"Make `error` print reference to a call site, not its definition\n\nPreviously our `error` was funny, note the extra line in callstack which refers to the\ndefinition of `error` function:\n\n```\nghci> error \"123\"\n*** Exception: 123\nCallStack (from HasCallStack):\n  error, called at /home/martoon/serokell/universum/src/Universum/Debug.hs:62:11 in main:Universum.Debug\n  error, called at <interactive>:1:1 in interactive:Ghci1\n```\n\nThis commit fixes this function so that printed callstack refers to its usage site.","distinct":true,"url":"https://api.github.com/repos/serokell/universum/commits/594b99c26060df6a71ddea371460bb61c4d9f56c"}]}
{"actor":{"display_login":"Martoon-00"}}