Catch errors while loading configs