How to find out if precompilation during Pkg.add was successful?

If precompilation did not succeed, then there will be an error when trying to use import or using.