Added minindump writer for investigation of #50
This commit is contained in:
		@@ -23,6 +23,7 @@ serde_urlencoded = "0.7.1"
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
once_cell = "1.15.0"
 | 
					once_cell = "1.15.0"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					breakpad-handler = "0.1.0"
 | 
				
			||||||
jsonwebtoken = "8.1.1"
 | 
					jsonwebtoken = "8.1.1"
 | 
				
			||||||
thiserror = "1.0.37"
 | 
					thiserror = "1.0.37"
 | 
				
			||||||
chrono = "0.4.22"
 | 
					chrono = "0.4.22"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -178,6 +178,9 @@ fn main() {
 | 
				
			|||||||
    println!("Loading config...");
 | 
					    println!("Loading config...");
 | 
				
			||||||
    let _ = config::CONFIG;
 | 
					    let _ = config::CONFIG;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    println!("Installing breakpad handler...");
 | 
				
			||||||
 | 
					    breakpad_handler::BreakpadHandler::attach("./crash", breakpad_handler::InstallOptions::BothHandlers, Box::new(|| {})).expect("Failed to install breakpad handler");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    let db_pool: db::DBPool = db::build_pool();
 | 
					    let db_pool: db::DBPool = db::build_pool();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    println!("Running migrations...");
 | 
					    println!("Running migrations...");
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user