Skip to content

Commit

Permalink
fix error printing
Browse files Browse the repository at this point in the history
  • Loading branch information
haydenfree committed Apr 22, 2021
1 parent 68dccdd commit 4f48f2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DataTypes/CourseCatalog.jl
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ function course(cc::CourseCatalog, prefix::AbstractString, num::AbstractString,
if hash_val in keys(cc.catalog)
return cc.catalog[hash_val]
else
error("Course: $prefix $num: $name at $institution does not exist in catalog: $(cc.name)")
error("Course: $prefix $num: $name at $(cc.institution) does not exist in catalog: $(cc.name)")
end
end

0 comments on commit 4f48f2a

Please sign in to comment.