Skip to content

Wrap exceptions in std::exception to verbose output on exception.#1316

Merged
prusnak merged 1 commit intoggml-org:masterfrom
ivanstepanovftw:stdexception
May 4, 2023
Merged

Wrap exceptions in std::exception to verbose output on exception.#1316
prusnak merged 1 commit intoggml-org:masterfrom
ivanstepanovftw:stdexception

Conversation

@ivanstepanovftw
Copy link
Copy Markdown
Contributor

I am not getting errors thrown as std::string.

Before:

William Safire will walk us through the nuances of badterminate called after throwing an instance of 'std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >'

After:

William Safire will walk us through the nuances of badterminate called after throwing an instance of 'std::runtime_error'
  what():  failed to open session/7B/hello.bin: No such file or directory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants