diff options
Diffstat (limited to 'src/armnn/Logging.cpp')
-rw-r--r-- | src/armnn/Logging.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/armnn/Logging.cpp b/src/armnn/Logging.cpp index 73879e644d..bceb110273 100644 --- a/src/armnn/Logging.cpp +++ b/src/armnn/Logging.cpp @@ -1,5 +1,5 @@ // -// Copyright © 2019 Arm Ltd and Contributors. All rights reserved. +// Copyright © 2019,2024 Arm Ltd and Contributors. All rights reserved. // SPDX-License-Identifier: MIT // @@ -99,7 +99,7 @@ void SetLogFilter(LogSeverity level) SimpleLogger<LogSeverity::Fatal>::Get().Enable(true); break; default: - ARMNN_ASSERT(false); + throw armnn::InvalidArgumentException("Unknown LoggingSeverity level."); } } |