mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-11 05:51:51 +00:00
ContentPack::scan another unhandled exception fix
This commit is contained in:
parent
685aab6bb5
commit
6c5f664d36
1 changed files with 2 additions and 0 deletions
|
|
@ -102,6 +102,8 @@ void ContentPack::scan(fs::path rootfolder,
|
||||||
} catch (const contentpack_error& err) {
|
} catch (const contentpack_error& err) {
|
||||||
std::cerr << "package.json error at " << err.getFolder().u8string();
|
std::cerr << "package.json error at " << err.getFolder().u8string();
|
||||||
std::cerr << ": " << err.what() << std::endl;
|
std::cerr << ": " << err.what() << std::endl;
|
||||||
|
} catch (const std::runtime_error& err) {
|
||||||
|
std::cerr << err.what() << std::endl;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue