File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -134,6 +134,10 @@ fn run_server() -> Result<()> {
134
134
135
135
let discovered = ProjectManifest :: discover_all ( & workspace_roots) ;
136
136
log:: info!( "discovered projects: {:?}" , discovered) ;
137
+ if discovered. is_empty ( ) {
138
+ log:: error!( "failed to find any projects in {:?}" , workspace_roots) ;
139
+ }
140
+
137
141
config. linked_projects = discovered. into_iter ( ) . map ( LinkedProject :: from) . collect ( ) ;
138
142
}
139
143
Original file line number Diff line number Diff line change @@ -288,7 +288,10 @@ impl Config {
288
288
let path = self . root_path . join ( it) ;
289
289
match ProjectManifest :: from_manifest_file ( path) {
290
290
Ok ( it) => it. into ( ) ,
291
- Err ( _) => continue ,
291
+ Err ( e) => {
292
+ log:: error!( "failed to load linked project: {}" , e) ;
293
+ continue ;
294
+ }
292
295
}
293
296
}
294
297
ManifestOrProjectJson :: ProjectJson ( it) => {
You can’t perform that action at this time.
0 commit comments