Skip to content

Commit

Permalink
Software initList方法异常,显示software.json完整路径
Browse files Browse the repository at this point in the history
  • Loading branch information
xianyunleo committed Feb 28, 2023
1 parent 4abb1a0 commit e0c856d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/core/software/Software.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default class Software {
try {
list = JSON.parse(File.ReadAllText(softConfigPath));
} catch {
throw new Error('software.json配置文件错误!');
throw new Error(`${softConfigPath} 配置文件错误!`);
}

for (const item of list) {
Expand Down

0 comments on commit e0c856d

Please sign in to comment.