mirror of
				https://github.com/ohwgiles/laminar.git
				synced 2025-06-13 12:54:29 +00:00 
			
		
		
		
	error on non-existent job
This commit is contained in:
		
							parent
							
								
									cb954f0ff8
								
							
						
					
					
						commit
						695b52c101
					
				| @ -399,8 +399,10 @@ bool Laminar::loadConfiguration() { | ||||
| } | ||||
| 
 | ||||
| std::shared_ptr<Run> Laminar::queueJob(std::string name, ParamMap params) { | ||||
|     if(!fs::exists(fs::path(homeDir)/"cfg"/"jobs"/name)) | ||||
|     if(!fs::exists(fs::path(homeDir)/"cfg"/"jobs"/name)) { | ||||
|         KJ_LOG(ERROR, "Non-existent job", name); | ||||
|         return nullptr; | ||||
|     } | ||||
| 
 | ||||
|     // attempt to create a workspace for this job if it doesn't exist
 | ||||
|     if(!fs::exists(fs::path(homeDir)/"run"/name/"workspace")) { | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user