Skip to content

Commit f54a221

Browse files
committed
use logger.always()
1 parent ad7373b commit f54a221

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

source/loader/layers/sanitizer/asan_options.hpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,10 @@ struct AsanOptions {
4646
try {
4747
OptionsEnvMap = getenv_to_map("UR_LAYER_ASAN_OPTIONS");
4848
} catch (const std::invalid_argument &e) {
49-
logger.error(e.what());
49+
std::stringstream SS;
50+
SS << "<SANITIZER>[ERROR]: ";
51+
SS << e.what();
52+
logger.always(SS.str().c_str());
5053
die("Sanitizer failed to parse options.\n");
5154
}
5255

0 commit comments

Comments
 (0)