caldav-adapter 9.3.4 → 9.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "caldav-adapter",
|
|
3
3
|
"description": "CalDAV server for Node.js and Koa. Modernized and maintained for Forward Email.",
|
|
4
|
-
"version": "9.3.
|
|
4
|
+
"version": "9.3.5",
|
|
5
5
|
"author": "Sanders DeNardi and Forward Email LLC",
|
|
6
6
|
"contributors": [
|
|
7
7
|
"Sanders DeNardi <sedenardi@gmail.com> (http://www.sandersdenardi.com/)",
|
|
@@ -122,7 +122,8 @@ module.exports = function (options) {
|
|
|
122
122
|
ctx.body = notFound(ctx.url);
|
|
123
123
|
}
|
|
124
124
|
} catch (err) {
|
|
125
|
-
|
|
125
|
+
// Only mark as code bug if it's truly unexpected (not a Boom/HTTP error)
|
|
126
|
+
if (!err.isBoom && !err.status) err.isCodeBug = true;
|
|
126
127
|
err.calendarId = calendarId;
|
|
127
128
|
err.principalId = ctx.state.params.principalId;
|
|
128
129
|
err.method = method;
|
|
@@ -150,7 +151,8 @@ module.exports = function (options) {
|
|
|
150
151
|
ctx.body = notFound(ctx.url);
|
|
151
152
|
}
|
|
152
153
|
} catch (err) {
|
|
153
|
-
|
|
154
|
+
// Only mark as code bug if it's truly unexpected (not a Boom/HTTP error)
|
|
155
|
+
if (!err.isBoom && !err.status) err.isCodeBug = true;
|
|
154
156
|
err.principalId = ctx.state.params.principalId;
|
|
155
157
|
err.method = method;
|
|
156
158
|
log.error('user method error', err);
|