app: when loading config, handle returned errors