Skip to content

Commit bb143b0

Browse files
committed
Set version 0.11.0
1 parent 73e242d commit bb143b0

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "safe-events-service",
3-
"version": "0.10.2",
3+
"version": "0.11.0",
44
"description": "",
55
"author": "",
66
"private": true,

src/main.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ function setupSwagger(app: INestApplication, basePath: string) {
1919
}
2020

2121
function getLogLevels(): LogLevel[] {
22-
const default_log_level = 'log';
22+
const default_log_level: LogLevel = 'log';
2323
const all_log_levels: LogLevel[] = [
2424
'verbose',
2525
'debug',
@@ -32,7 +32,9 @@ function getLogLevels(): LogLevel[] {
3232
process.env.LOG_LEVEL || default_log_level
3333
).toLowerCase() as LogLevel;
3434
if (!all_log_levels.includes(log_level)) {
35-
console.log(`LOG_LEVEL ${log_level} is not valid`);
35+
console.log(
36+
`LOG_LEVEL ${log_level} is not valid. Using default log level '${default_log_level}'`,
37+
);
3638
log_level = default_log_level;
3739
}
3840

0 commit comments

Comments
 (0)