error trap and log for no settings file