try/except around loader