Skip to content

Commit 3f00d1b

Browse files
committed
[jnimarshalmethod-gen] Warn about symbol files only in verbose mode
1 parent 6ce89c7 commit 3f00d1b

File tree

1 file changed

+2
-1
lines changed
  • tools/jnimarshalmethod-gen

1 file changed

+2
-1
lines changed

tools/jnimarshalmethod-gen/App.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,8 @@ void ProcessAssemblies (List<string> assemblies)
172172
ad = AssemblyDefinition.ReadAssembly (assembly, readWriteParameters);
173173
resolver.AddToCache (ad);
174174
} catch (Exception) {
175-
Warning ($"Unable to read assembly '{assembly}' with symbols. Retrying to load it without them.");
175+
if (Verbose)
176+
Warning ($"Unable to read assembly '{assembly}' with symbols. Retrying to load it without them.");
176177
ad = AssemblyDefinition.ReadAssembly (assembly, readWriteParametersNoSymbols);
177178
resolver.AddToCache (ad);
178179
}

0 commit comments

Comments
 (0)