Make the toast error more detailed.

pull/4512/head
Evan Sangaline 9 months ago committed by Aniket
parent d631dec1ce
commit 3e749e55f1
  1. 2
      libs/remix-ws-templates/src/script-templates/sindri/utils.ts

@ -11,7 +11,7 @@ const authorize = async () => {
}
sindriClient.authorize({apiKey})
} catch {
const message = 'No Sindri API key found. Please add your API key in the settings tab.'
const message = 'No Sindri API key found. Please click the gear in the lower left corner to open the settings page, and add your API key under "Sindri Credentials".'
await remix.call('notification', 'toast', message)
throw new Error(message)
}

Loading…
Cancel
Save