need an error log here so we know which exception is causing this.