Trap and return exceptions in async loading