Skip to content
This repository was archived by the owner on Apr 21, 2026. It is now read-only.

Commit 2167cd7

Browse files
bpamiriclaude
andcommitted
Update wheels-core to 3.0.1-SNAPSHOT for CockroachDB adapter support
Bump wheels-core dependency to require at least 3.0.1-SNAPSHOT+1151 which includes the new CockroachDB database adapter. Also reverts temporary debug code in BlogController show() catch block. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 37a307a commit 2167cd7

2 files changed

Lines changed: 15 additions & 4 deletions

File tree

app/controllers/web/BlogController.cfc

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -517,9 +517,20 @@ component extends="app.Controllers.Controller" {
517517
}
518518

519519
} catch (any e) {
520-
// TEMPORARY DEBUG
521-
writeOutput("<pre>BLOG SHOW ERROR:#chr(10)#Message: #e.message##chr(10)#Detail: #e.detail##chr(10)#TagContext: #serializeJSON(e.tagContext[1])#</pre>");
522-
abort;
520+
model("Log").log(
521+
category = "wheels.blog",
522+
level = "ERROR",
523+
message = "Blog post not found",
524+
details = {
525+
"error_message": e.message,
526+
"error_detail": e.detail,
527+
"slug": params.slug,
528+
"ip_address": cgi.REMOTE_ADDR
529+
},
530+
userId = GetSignedInUserId()
531+
);
532+
redirectTo(action="index");
533+
return;
523534
}
524535
}
525536

box.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"testbox":"^5",
3939
"semver":"^1.2.6",
4040
"logbox":"7.3.1+17",
41-
"wheels-core":"^3.0.0-snapshot",
41+
"wheels-core":"^3.0.1-snapshot+1151",
4242
"cfwheels-bcrypt":"^1.0.2"
4343
},
4444
"type":"mvc",

0 commit comments

Comments
 (0)