Skip to content

Commit fa8b9ab

Browse files
committed
lint
1 parent 1d4c116 commit fa8b9ab

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/open-next/src/adapters/logger.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ export function error(...args: any[]) {
4444
// we try to catch errors from the aws-sdk client and downplay some of them
4545
if (args.some((arg) => isDownplayedErrorLog(arg))) {
4646
return debug(...args);
47-
} else if (args.some((arg) => isOpenNextError(arg))) {
47+
}
48+
if (args.some((arg) => isOpenNextError(arg))) {
4849
// In case of an internal error, we log it with the appropriate log level
4950
const error = args.find((arg) => isOpenNextError(arg))!;
5051
if (error.logLevel < getOpenNextErrorLogLevel()) {

0 commit comments

Comments
 (0)