Make the toast error more detailed.

pull/5370/head
Evan Sangaline 10 months ago committed by Aniket
parent ff29a69597
commit 565ec34145
  1. 2
      libs/remix-ws-templates/src/script-templates/sindri/utils.ts

@ -11,7 +11,7 @@ const authorize = async () => {
} }
sindriClient.authorize({apiKey}) sindriClient.authorize({apiKey})
} catch { } 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) await remix.call('notification', 'toast', message)
throw new Error(message) throw new Error(message)
} }

Loading…
Cancel
Save