Skip to content

Commit fd25ff0

Browse files
authored
Merge pull request #209 from cormullion/fixwarn
replace warn with @warn
2 parents 882f204 + ad67187 commit fd25ff0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/error_handling.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ function handle_current_error(e, library, islast::Bool)
4949
bt = catch_backtrace()
5050
bts = sprint(io->Base.show_backtrace(io, bt))
5151
message = islast ? "" : "\nTrying next loading library! Please report this issue on the Github page for $library"
52-
warn(string(e, bts, message))
52+
@warn string(e, bts, message)
5353
end
54-
handle_current_error(e::NotInstalledError) = warn(string("lib ", e.library, " not installed, trying next library"))
54+
handle_current_error(e::NotInstalledError) = @warn string("lib ", e.library, " not installed, trying next library")
5555

5656

5757
"""

0 commit comments

Comments
 (0)