mirror of
https://github.com/dromara/RuoYi-Vue-Plus.git
synced 2025-12-07 08:46:05 +08:00
refactor 优化工作流服务中的异常处理
This commit is contained in:
@@ -42,7 +42,7 @@ public class DataBaseHelper {
|
||||
String databaseProductName = metaData.getDatabaseProductName();
|
||||
return DataBaseType.find(databaseProductName);
|
||||
} catch (SQLException e) {
|
||||
throw new ServiceException(e.getMessage());
|
||||
throw new RuntimeException("获取数据库类型失败", e);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user