Catch exceptions when importing stage files