Skip to content

Commit 43a494c

Browse files
Do not write warning to standard output.
1 parent 7eb3bbc commit 43a494c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

SignatureExtractor.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ private static void AddSignatureFieldToList(string name)
7171
}
7272
catch (Exception e)
7373
{
74-
Console.WriteLine($"Unable to create a PdfSignatureDictionary for field with name '{name}': {e.Message}");
74+
Console.Error.WriteLine($"Unable to create a PdfSignatureDictionary for field with name '{name}': {e.Message}");
7575
return;
7676
}
7777

@@ -82,7 +82,7 @@ private static void AddSignatureFieldToList(string name)
8282
{
8383
List<PdfSignatureField> fieldList = _signaturesDictionary[signature];
8484
fieldList.Add(pdfSignatureField);
85-
Console.WriteLine($"More than one field refers to the same signature dictionary: {fieldList}!");
85+
Console.Error.WriteLine($"More than one field refers to the same signature dictionary: {fieldList}!");
8686
}
8787
}
8888
}

0 commit comments

Comments
 (0)