suppress any output

This commit is contained in:
Wolfgang Hottgenroth 2015-10-11 21:46:14 +02:00
parent 9285eaaaee
commit 00b79d1eed

View File

@ -40,12 +40,12 @@ namespace Snmp2Mysql
SnmpGetterResultProvider res = snmpGetter.Exec();
foreach (SnmpGetterResult r in res)
{
Console.WriteLine("{0} {1} {2} {3}: {4}", dt.Description, r.Index, r.Oid, r.Type, r.Value);
// Console.WriteLine("{0} {1} {2} {3}: {4}", dt.Description, r.Index, r.Oid, r.Type, r.Value);
dc.add((int)r.Index, r.Value);
}
}
catch (SnmpGetterException e) {
Console.WriteLine ("{0}, no result: {1}", dt.Description, e.Message);
catch (SnmpGetterException) {
// Console.WriteLine ("{0}, no result: {1}", dt.Description, e.Message);
}
}
}