summaryrefslogtreecommitdiff
path: root/modules/webm
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-08-12 11:16:14 +0200
committerGitHub <noreply@github.com>2019-08-12 11:16:14 +0200
commit3123fe8ec6435e206fcf7fc2dc5f8e04c5e08901 (patch)
tree54d6897f3b5058def1a767dd9099a7deb93389ce /modules/webm
parent839cc98cb9d65bd80f50a7f981350966fedc54ee (diff)
parent8aeade74dbed218bf44eec7a5fff76a3526d4e4c (diff)
Merge pull request #31286 from profan/fix/err-explain-rest-modules
Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in rest of 'modules/'
Diffstat (limited to 'modules/webm')
-rw-r--r--modules/webm/video_stream_webm.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/webm/video_stream_webm.cpp b/modules/webm/video_stream_webm.cpp
index 3670edc9ea..fa3602ad27 100644
--- a/modules/webm/video_stream_webm.cpp
+++ b/modules/webm/video_stream_webm.cpp
@@ -53,8 +53,7 @@ public:
file = FileAccess::open(p_file, FileAccess::READ);
- ERR_EXPLAIN("Failed loading resource: '" + p_file + "';");
- ERR_FAIL_COND(!file);
+ ERR_FAIL_COND_MSG(!file, "Failed loading resource: '" + p_file + "'.");
}
~MkvReader() {