mirror of
https://github.com/block/goose.git
synced 2026-07-17 12:56:20 +02:00
Throw
This commit is contained in:
@@ -13,7 +13,7 @@ export default function AppsView() {
|
||||
const loadApps = async () => {
|
||||
try {
|
||||
setLoading(true);
|
||||
const response = await listApps();
|
||||
const response = await listApps({ throwOnError: true });
|
||||
setApps(response.data?.apps || []);
|
||||
} catch (err) {
|
||||
setError(err instanceof Error ? err.message : 'Failed to load apps');
|
||||
|
||||
@@ -4,7 +4,6 @@ import { Buffer } from 'node:buffer';
|
||||
import { GooseApp } from '../api';
|
||||
|
||||
export async function launchGooseApp(gapp: GooseApp): Promise<void> {
|
||||
console.log(`Launching Goose app: ${gapp.name}`);
|
||||
const appWindow = new BrowserWindow({
|
||||
title: gapp.name,
|
||||
width: gapp.width || 800,
|
||||
|
||||
Reference in New Issue
Block a user