Update win_eventlog_sink.h

This commit is contained in:
Gabi Melman 2020-03-22 02:30:15 +02:00 committed by GitHub
parent f0c35819bd
commit da3f3da92c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -175,8 +175,7 @@ struct eventlog
return EVENTLOG_ERROR_TYPE;
default:
// should be unreachable
throw_spdlog_ex(fmt::format("Unsupported log level {}", msg.level));
return EVENTLOG_INFORMATION_TYPE;
}
}