diff --git a/packages/frontend/src/pages/scratchpad.vue b/packages/frontend/src/pages/scratchpad.vue index 01f8753947..a5584b4026 100644 --- a/packages/frontend/src/pages/scratchpad.vue +++ b/packages/frontend/src/pages/scratchpad.vue @@ -109,11 +109,11 @@ async function run() { print: true, }); }, - err: (e) => { + err: (err) => { os.alert({ type: 'error', title: 'AiScript Error', - text: e.toString(), + text: err.toString(), }); }, log: (type, params) => {