mirror of
https://github.com/safedep/pmg.git
synced 2026-08-03 07:24:09 +02:00
fix: Show error messages on fatal failures #32
This commit is contained in:
@@ -39,7 +39,7 @@ var _ Analyzer = &malysisActiveScanAnalyzer{}
|
||||
|
||||
func NewMalysisActiveScanAnalyzer(config MalysisActiveScanAnalyzerConfig) (*malysisActiveScanAnalyzer, error) {
|
||||
if config.TenantId == "" || config.ApiKey == "" {
|
||||
return nil, fmt.Errorf("active scanning requires SafeDep Cloud authentication credentials")
|
||||
return nil, fmt.Errorf("active scanning requires SafeDep Cloud credentials (https://docs.safedep.io/cloud/malware-analysis)")
|
||||
}
|
||||
|
||||
headers := http.Header{}
|
||||
|
||||
Reference in New Issue
Block a user