diff options
Diffstat (limited to 'src/web_vtt_reader.cc')
| -rw-r--r-- | src/web_vtt_reader.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web_vtt_reader.cc b/src/web_vtt_reader.cc index cd6844d..4618466 100644 --- a/src/web_vtt_reader.cc +++ b/src/web_vtt_reader.cc @@ -86,7 +86,7 @@ WebVTTReader::read(std::function<optional<string> ()> get_line) switch (state) { case State::HEADER: if (!boost::starts_with(*line, "WEBVTT")) { - throw WebVTTError("No WEBVTT header found"); + throw WebVTTHeaderError(); } state = State::DATA; break; |
