# Can't catch InitErrors?

**URL:** <https://discourse.julialang.org/t/cant-catch-initerrors/46033>\
**Category:** General Usage\
**Created:** [September 3, 2020, 11:35pm UTC](https://discourse.julialang.org/t/cant-catch-initerrors/46033 "2020-09-03T23:35:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jwveysey](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jwveysey/32/5662_2.png) [@jwveysey](https://discourse.julialang.org/u/jwveysey)\
**Post date:** [September 3, 2020, 11:35pm UTC](https://discourse.julialang.org/t/cant-catch-initerrors/46033/1 "2020-09-03T23:35:01Z")

</div>

There’s probably an obvious answer to this question, but I can’t seem to find it. I have a package that loads another package with a using statement. The package that’s loaded has an **init** function that may error, so I’ve tried putting the using statement in a try-catch block like this:

```julia
module mymodule
    try
        using otherpackage
    catch
    end
end

```

I’m finding, however, that regardless of the try-catch, the InitError from otherpackage propagates if raised, causing my package not load. Is it not possible to catch InitErrors when a package is loading? I’d be grateful for any pointers.
