Skip to content

Commit ad67187

Browse files
committed
replace warn with @warn
1 parent 882f204 commit ad67187

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)