Skip to content

Commit

Permalink
JSON: Improve File Open Error Message
Browse files Browse the repository at this point in the history
Include path to file
  • Loading branch information
ax3l committed Apr 22, 2022
1 parent 7a69773 commit c9c8d37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/IO/JSON/JSONIOHandlerImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -916,7 +916,7 @@ JSONIOHandlerImpl::getFilehandle(File fileName, Access access)
fs->open(path, std::ios_base::in);
break;
}
VERIFY(fs->good(), "[JSON] Failed opening a file");
VERIFY(fs->good(), "[JSON] Failed opening a file '" + path + "'");
return fs;
}

Expand Down

0 comments on commit c9c8d37

Please sign in to comment.