aboutsummaryrefslogtreecommitdiff
path: root/src/core/Error.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/Error.cpp')
-rw-r--r--src/core/Error.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/Error.cpp b/src/core/Error.cpp
index 2f6a94bb85..e7b43655a2 100644
--- a/src/core/Error.cpp
+++ b/src/core/Error.cpp
@@ -54,9 +54,9 @@ void arm_compute::error(const char *function, const char *file, const int line,
va_start(args, msg);
auto err = create_error_va_list(ErrorCode::RUNTIME_ERROR, function, file, line, msg, args);
va_end(args);
- throw std::runtime_error(err.error_description());
+ ARM_COMPUTE_THROW(std::runtime_error(err.error_description()));
}
void Status::internal_throw_on_error() const
{
- throw std::runtime_error(_error_description);
+ ARM_COMPUTE_THROW(std::runtime_error(_error_description));
}