We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d4c116 commit fa8b9abCopy full SHA for fa8b9ab
packages/open-next/src/adapters/logger.ts
@@ -44,7 +44,8 @@ export function error(...args: any[]) {
44
// we try to catch errors from the aws-sdk client and downplay some of them
45
if (args.some((arg) => isDownplayedErrorLog(arg))) {
46
return debug(...args);
47
- } else if (args.some((arg) => isOpenNextError(arg))) {
+ }
48
+ if (args.some((arg) => isOpenNextError(arg))) {
49
// In case of an internal error, we log it with the appropriate log level
50
const error = args.find((arg) => isOpenNextError(arg))!;
51
if (error.logLevel < getOpenNextErrorLogLevel()) {
0 commit comments