Skip to content

Commit d7df15d

Browse files
authored
add back the exception to the error logging when loading an extension fails (#49075)
1 parent db7971f commit d7df15d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

base/loading.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1196,8 +1196,9 @@ function run_extension_callbacks(extid::ExtensionId)
11961196
true
11971197
catch
11981198
# Try to continue loading if loading an extension errors
1199+
errs = current_exceptions()
11991200
@error "Error during loading of extension $(extid.id.name) of $(extid.parentid.name), \
1200-
use `Base.retry_load_extensions()` to retry."
1201+
use `Base.retry_load_extensions()` to retry." exception=errs
12011202
false
12021203
end
12031204
return succeeded

0 commit comments

Comments
 (0)