- 优化 错误信息提示;

This commit is contained in:
2881099
2022-05-17 12:31:51 +08:00
parent a940e6996f
commit 766c5e97d3
23 changed files with 64 additions and 64 deletions

View File

@ -138,7 +138,7 @@ namespace FreeSql.MySql
catch (Exception ex)
{
if (_pool.SetUnavailable(ex) == true)
throw new Exception($"【{this.Name}】状态不可用,等待后台检查程序恢复方可使用。{ex.Message}");
throw new Exception($"【{this.Name}】Block access and wait for recovery: {ex.Message}");
}
}
}
@ -168,7 +168,7 @@ namespace FreeSql.MySql
catch (Exception ex)
{
if (_pool.SetUnavailable(ex) == true)
throw new Exception($"【{this.Name}】状态不可用,等待后台检查程序恢复方可使用。{ex.Message}");
throw new Exception($"【{this.Name}】Block access and wait for recovery: {ex.Message}");
}
}
}