Skip to content

Commit bffbc7b

Browse files
Copilotmithun50
andauthored
fix: log exception when openclaw.json token read fails for easier debugging
Agent-Logs-Url: https://github.com/mithun50/openclaw-termux/sessions/2f5ef8ee-b8bf-4ee1-ab15-ba2a1603670c Co-authored-by: mithun50 <99024517+mithun50@users.noreply.github.com>
1 parent e25ed21 commit bffbc7b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

flutter_app/lib/services/node_service.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,9 @@ class NodeService {
171171
return token;
172172
}
173173
}
174-
} catch (_) {}
174+
} catch (e) {
175+
_log('[NODE] Could not read token from openclaw.json: $e');
176+
}
175177

176178
_log('[NODE] No gateway token available');
177179
return null;

0 commit comments

Comments
 (0)