summaryrefslogtreecommitdiff
path: root/modules/webm
diff options
context:
space:
mode:
authorRobin Hübner <robinhubner@gmail.com>2019-08-11 10:49:53 +0200
committerRobin Hübner <robinhubner@gmail.com>2019-08-12 10:15:54 +0200
commit8aeade74dbed218bf44eec7a5fff76a3526d4e4c (patch)
tree62908d5f47ddb201a3423be1abc427a0767579d7 /modules/webm
parent3418f76a9eab9f496e5b26310bd3bc1125b8119b (diff)
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() {