Debugging added to oleid
This commit is contained in:
		
							parent
							
								
									8dc19d23ad
								
							
						
					
					
						commit
						4a1b5e3ea5
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -36,6 +36,7 @@ func OleIDScan(fileID pgtype.UUID) error {
 | 
			
		|||
  if json.Valid(body) == false {
 | 
			
		||||
    return fmt.Errorf("JSON not valid")
 | 
			
		||||
  }
 | 
			
		||||
  slog.Debug("OleIDScan", "file-uuid", fileID.String(), "data", body)
 | 
			
		||||
  database.InsertJsonResult(fileID, body, "msoffice_oleid")
 | 
			
		||||
  return nil
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue