diff --git a/public/app/plugins/panel/canvas/editor/element/utils.ts b/public/app/plugins/panel/canvas/editor/element/utils.ts index 8b34aee5836..fd943f9044e 100644 --- a/public/app/plugins/panel/canvas/editor/element/utils.ts +++ b/public/app/plugins/panel/canvas/editor/element/utils.ts @@ -23,7 +23,8 @@ export const callApi = (api: APIEditorConfig, updateLoadingStateCallback?: IsLoa .fetch(request) .subscribe({ error: (error) => { - appEvents.emit(AppEvents.alertError, ['An error has occurred: ', JSON.stringify(error)]); + appEvents.emit(AppEvents.alertError, ['An error has occurred. Check console output for more details.']); + console.error('API call error: ', error); updateLoadingStateCallback && updateLoadingStateCallback(false); }, complete: () => {