chore: bump the version for error messages to 1.1.1
This commit is contained in:
parent
c63f9d8d59
commit
891b03c084
1 changed files with 2 additions and 2 deletions
4
index.js
4
index.js
|
@ -97,14 +97,14 @@ Mod.prototype.callback = function callback(req, res, serverconsole, responseEnd,
|
||||||
try {
|
try {
|
||||||
if (nextError) throw nextError;
|
if (nextError) throw nextError;
|
||||||
if (!isPrepared) {
|
if (!isPrepared) {
|
||||||
callServerError(503, "nextjs-integration/1.1.0");
|
callServerError(503, "nextjs-integration/1.1.1");
|
||||||
serverconsole.errmessage("Next.js application not yet fully loaded.");
|
serverconsole.errmessage("Next.js application not yet fully loaded.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
await handle(req, res);
|
await handle(req, res);
|
||||||
serverconsole.resmessage("Next.js request successfully processed.");
|
serverconsole.resmessage("Next.js request successfully processed.");
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
callServerError(500, "nextjs-integration/1.1.0", err);
|
callServerError(500, "nextjs-integration/1.1.1", err);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue