Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error thrown by a hfun should show just show that error and not the rest... #244

Open
tlienart opened this issue Jul 26, 2023 · 0 comments
Labels
bug Something isn't working error-handling

Comments

@tlienart
Copy link
Owner

not this kind of stuff:

[ Info: > Full Pass [MD/I] (sequential)
".. $(rp)" = ".. webeasties/2013/friday-link-dump.md"
ERROR: KeyError: key "posts/back-on-the-horse-part2.md" not found
Stacktrace:
  [1] getindex
    @ ./dict.jl:484 [inlined]
  [2] getvarfrom(n::Symbol, rpath::String, d::Nothing; default::Nothing)
    @ Main.__FRANKLIN_1298556.XranklinCore ./string:37
  [3] getvarfrom (repeats 2 times)
    @ ./string:31 [inlined]
  [4] (::Main.__FRANKLIN_1298556.Utils.var"#6#10")(rp::String)
    @ Main.__FRANKLIN_1298556.Utils ./none:0
  [5] iterate
    @ ./generator.jl:47 [inlined]
  [6] collect(itr::Base.Generator{Vector{String}, Main.__FRANKLIN_1298556.Utils.var"#6#10"})
    @ Base ./array.jl:782
  [7] get_posts(t::String, basepath::String)
    @ Main.__FRANKLIN_1298556.Utils ./string:139
  [8] get_posts
    @ ./string:132 [inlined]
  [9] hfun_list_posts(t::String)
    @ Main.__FRANKLIN_1298556.Utils ./string:114
 [10] hfun_taglist()
    @ Main.__FRANKLIN_1298556.Utils ./string:101
@tlienart tlienart added bug Something isn't working error-handling labels Jul 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working error-handling
Projects
None yet
Development

No branches or pull requests

1 participant