mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 04:50:09 +00:00
better error messages.
This commit is contained in:
parent
88d5a5b0ca
commit
a22857b8ef
@ -415,7 +415,7 @@ void HTMLRenderer::post_process(void)
|
||||
{
|
||||
ifstream fin(f_outline.path, ifstream::binary);
|
||||
if(!fin)
|
||||
throw "Cannot open read the pages";
|
||||
throw "Cannot open outline for reading";
|
||||
output << fin.rdbuf();
|
||||
output.clear(); // output will set fail big if fin is empty
|
||||
}
|
||||
@ -424,7 +424,7 @@ void HTMLRenderer::post_process(void)
|
||||
{
|
||||
ifstream fin(f_pages.path, ifstream::binary);
|
||||
if(!fin)
|
||||
throw "Cannot open read the pages";
|
||||
throw "Cannot open pages for reading";
|
||||
output << fin.rdbuf();
|
||||
output.clear(); // output will set fail big if fin is empty
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user