Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 8b2be815a5 | |||
| 81704a5182 | |||
| e0ab2cf853 |
@@ -2146,21 +2146,14 @@ namespace SteamWare.IO
|
|||||||
bool answ = false;
|
bool answ = false;
|
||||||
if (!string.IsNullOrEmpty(chiave))
|
if (!string.IsNullOrEmpty(chiave))
|
||||||
{
|
{
|
||||||
if (!string.IsNullOrEmpty(valore))
|
try
|
||||||
{
|
{
|
||||||
try
|
cache.StringSet(chiave, valore);
|
||||||
{
|
answ = true;
|
||||||
cache.StringSet(chiave, valore);
|
|
||||||
answ = true;
|
|
||||||
}
|
|
||||||
catch (Exception exc)
|
|
||||||
{
|
|
||||||
Logging.Instance.Error(string.Format("Eccezzione in setRSV:{0}{1}", Environment.NewLine, exc));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else
|
catch (Exception exc)
|
||||||
{
|
{
|
||||||
Logging.Instance.Error("Errore: valore non valido (vuoto) in setRSV");
|
Logging.Instance.Error(string.Format("Eccezzione in setRSV:{0}{1}", Environment.NewLine, exc));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -2163,21 +2163,14 @@ namespace SteamWare
|
|||||||
bool answ = false;
|
bool answ = false;
|
||||||
if (!string.IsNullOrEmpty(chiave))
|
if (!string.IsNullOrEmpty(chiave))
|
||||||
{
|
{
|
||||||
if (!string.IsNullOrEmpty(valore))
|
try
|
||||||
{
|
{
|
||||||
try
|
cache.StringSet(chiave, valore);
|
||||||
{
|
answ = true;
|
||||||
cache.StringSet(chiave, valore);
|
|
||||||
answ = true;
|
|
||||||
}
|
|
||||||
catch (Exception exc)
|
|
||||||
{
|
|
||||||
logger.lg.scriviLog($"Eccezzione in setRSV | chiave: {chiave} | valore: {valore}{Environment.NewLine}{exc}", tipoLog.EXCEPTION);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else
|
catch (Exception exc)
|
||||||
{
|
{
|
||||||
logger.lg.scriviLog("Errore: valore non valido (vuoto) in setRSV", tipoLog.ERROR);
|
logger.lg.scriviLog($"Eccezzione in setRSV | chiave: {chiave} | valore: {valore}{Environment.NewLine}{exc}", tipoLog.EXCEPTION);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user