Print stack trace when loading config failed