Skip to content

Commit

Permalink
[fix]fix typo
Browse files Browse the repository at this point in the history
thtow -> throw
  • Loading branch information
MommaWatasu committed Feb 20, 2024
1 parent b9853f7 commit beb7ed1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/template.jl
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ function (Tmp::Template)(init::Dict{String, T}, blocks::Vector{TmpBlock}) where
try
return Base.invokelatest(template_render, values(init)...)
catch e
thtow(TemplateError("failed to render: following error occurred during rendering:\n$e"))
throw(TemplateError("failed to render: following error occurred during rendering:\n$e"))
end
end

Expand Down

0 comments on commit beb7ed1

Please sign in to comment.