mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-18 06:24:20 +01:00
Show helpful toast if someone hits a 404
This commit is contained in:
@@ -20,7 +20,8 @@ class ChatService {
|
||||
return await api.post(
|
||||
'agent/tasks/$taskId/steps', stepRequestBody.toJson());
|
||||
} catch (e) {
|
||||
throw Exception('Failed to execute step: $e');
|
||||
// TODO: We are bubbling up the full response. Revisit this.
|
||||
rethrow;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user