mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-18 22:44:21 +01:00
Show helpful toast if someone hits a 404
This commit is contained in:
@@ -166,9 +166,9 @@ class ChatViewModel with ChangeNotifier {
|
||||
}
|
||||
|
||||
print("Chats added for task ID: $_currentTaskId");
|
||||
} catch (error) {
|
||||
// TODO: Bubble up errors to UI
|
||||
print("Error sending chat: $error");
|
||||
} catch (e) {
|
||||
// TODO: We are bubbling up the full response. Revisit this.
|
||||
rethrow;
|
||||
// TODO: Handle additional error scenarios or log them as required
|
||||
} finally {
|
||||
_isWaitingForAgentResponse = false;
|
||||
|
||||
Reference in New Issue
Block a user