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 73a3613 commit f873653Copy full SHA for f873653
src/lib/contentstack.ts
@@ -156,9 +156,9 @@ export function stack(config: StackConfig): StackClass {
156
function getLogLevelFromStatus(status: number): string {
157
if (status >= 200 && status < 300) {
158
return 'info';
159
- } else if (status >= 300 && status < 500) {
+ } else if (status >= 300 && status < 400) {
160
return 'warn';
161
- } else if (status >= 500) {
+ } else if (status >= 400) {
162
return 'error';
163
} else {
164
return 'debug';
0 commit comments